diff --git a/sasjs-tests/src/testSuites/Basic.ts b/sasjs-tests/src/testSuites/Basic.ts index 38582b7..8f938ac 100644 --- a/sasjs-tests/src/testSuites/Basic.ts +++ b/sasjs-tests/src/testSuites/Basic.ts @@ -6,6 +6,7 @@ const stringData: any = { table1: [{ col1: 'first col value' }] } const defaultConfig: SASjsConfig = { serverUrl: window.location.origin, + pathSASJS: '/SASjsApi/stp/execute', pathSAS9: '/SASStoredProcess/do', pathSASViya: '/SASJobExecution', appLoc: '/Public/seedapp', diff --git a/src/SASjs.ts b/src/SASjs.ts index 54f05b7..41adfa9 100644 --- a/src/SASjs.ts +++ b/src/SASjs.ts @@ -1031,7 +1031,7 @@ export default class SASjs { ? this.sasjsConfig.pathSASViya : this.sasjsConfig.serverType === ServerType.Sas9 ? this.sasjsConfig.pathSAS9 - : this.sasjsConfig.pathSASJS || '' + : this.sasjsConfig.pathSASJS this.authManager = new AuthManager( this.sasjsConfig.serverUrl, diff --git a/src/types/SASjsConfig.ts b/src/types/SASjsConfig.ts index 8aab678..a40db2f 100644 --- a/src/types/SASjsConfig.ts +++ b/src/types/SASjsConfig.ts @@ -16,7 +16,7 @@ export class SASjsConfig { * The location of the STP Process Web Application. By default the adapter * will use '/SASjsApi/stp/execute' on SAS JS. */ - pathSASJS?: string = '' + pathSASJS: string = '' /** * The location of the Stored Process Web Application. By default the adapter * will use '/SASStoredProcess/do' on SAS 9.