1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-07 12:30:06 +00:00

chore: cleanup

This commit is contained in:
Mihajlo Medjedovic
2021-03-02 13:13:03 +01:00
parent 8714ecdde8
commit d517e79ec0
3 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
"homepage": ".", "homepage": ".",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@sasjs/adapter": "file:../build/sasjs-adapter-5.0.0.tgz", "@sasjs/adapter": "^2.2.4",
"@sasjs/test-framework": "^1.4.0", "@sasjs/test-framework": "^1.4.0",
"@types/jest": "^26.0.20", "@types/jest": "^26.0.20",
"@types/node": "^14.14.25", "@types/node": "^14.14.25",

View File

@@ -6,7 +6,7 @@
"appLoc": "/Public/app", "appLoc": "/Public/app",
"serverType": "SASVIYA", "serverType": "SASVIYA",
"debug": false, "debug": false,
"contextName": "SAS Job Execution compute context", "contextName": "sasjs adapter compute context",
"useComputeApi": true "useComputeApi": true
} }
} }

View File

@@ -60,7 +60,7 @@ export const basicTests = (
test: async () => { test: async () => {
await adapter.logOut(); await adapter.logOut();
return await adapter.request("/Public/app/common/sendArr", stringData, null, () => { return await adapter.request("common/sendArr", stringData, null, () => {
adapter.logIn(userName, password); adapter.logIn(userName, password);
}); });
}, },
@@ -77,7 +77,7 @@ export const basicTests = (
debug: true debug: true
} }
return await adapter.request("/Public/app/common/sendArr", stringData, config) return await adapter.request("common/sendArr", stringData, config)
}, },
assertion: (response: any) => { assertion: (response: any) => {
return response.table1[0][0] === stringData.table1[0].col1; return response.table1[0][0] === stringData.table1[0].col1;