Skip to content

Commit

Permalink
Fix erroring out tests (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhakabir committed Jun 16, 2021
1 parent 4da9eda commit 137673f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ describe('test code generator', function () {

runResult.assertJsonFileContent('testCom/package.json', expectedPackageJSON);

const tsconfigBody = JSON.parse(stripComments(runResult.fs.read('testCom/tsconfig.json')));
const tsconfigBody = JSON.parse(stripComments(runResult.fs.read('tsconfig.json')));
runResult.assertObjectContent(tsconfigBody, expectedTsConfig);

done();
Expand Down Expand Up @@ -949,8 +949,8 @@ describe('test code generator', function () {
]
};
try {
const tsconfigBody = JSON.parse(stripComments(runResult.fs.read('testCom/jsconfig.json')));
runResult.assertObjectContent(tsconfigBody, expectedJSConfig);
const jsconfigBody = JSON.parse(stripComments(runResult.fs.read('jsconfig.json')));
runResult.assertObjectContent(jsconfigBody, expectedJSConfig);

done();
} catch (e) {
Expand Down

0 comments on commit 137673f

Please sign in to comment.