Skip to content

Commit 5cfaa44

Browse files
Fix lint errors
1 parent 6ad5b95 commit 5cfaa44

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/common/configurationTests.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const testFolder = "Commont/Configuration";
3535

3636
describe("configuration tests", () => {
3737
it("should write request to console if debugMode is setted to true in constructor", () => {
38-
const config = require("../../testConfig.json");
38+
const cfg = require("../../testConfig.json");
3939
const wordsApi = BaseTest.initializeWordsApi(true);
4040

4141
const localPath = BaseTest.localCommonTestDataFolder + "test_multi_pages.docx";
@@ -54,15 +54,15 @@ describe("configuration tests", () => {
5454
.then(() => {
5555
log.restore();
5656
sinon.assert.calledWith(log,
57-
sinon.match('"uri": "' + config.BaseUrl + "/v4.0/words/TesConfiguration.docx?folder=Temp%2FSdkTests%2Fnode%2FTestData%2FCommont%2FConfiguration" + '"')
57+
sinon.match('"uri": "' + cfg.BaseUrl + "/v4.0/words/TesConfiguration.docx?folder=Temp%2FSdkTests%2Fnode%2FTestData%2FCommont%2FConfiguration" + '"')
5858
.and(sinon.match('"method": "GET"')));
5959
});
6060
});
6161
});
6262

6363
it("should write request to console if debugMode is setted to true in runtime", () => {
6464

65-
const config = require("../../testConfig.json");
65+
const cfg = require("../../testConfig.json");
6666
const wordsApi = BaseTest.initializeWordsApi();
6767

6868
const localPath = BaseTest.localCommonTestDataFolder + "test_multi_pages.docx";
@@ -83,7 +83,7 @@ describe("configuration tests", () => {
8383
.then(() => {
8484
log.restore();
8585
sinon.assert.calledWith(log,
86-
sinon.match('"uri": "' + config.BaseUrl + "/v4.0/words/TesConfiguration.docx?folder=Temp%2FSdkTests%2Fnode%2FTestData%2FCommont%2FConfiguration" +'"')
86+
sinon.match('"uri": "' + cfg.BaseUrl + "/v4.0/words/TesConfiguration.docx?folder=Temp%2FSdkTests%2Fnode%2FTestData%2FCommont%2FConfiguration" + '"')
8787
.and(sinon.match('"method": "GET"')));
8888
});
8989
});

0 commit comments

Comments
 (0)