Skip to content

Commit

Permalink
chore: Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Apr 12, 2020
1 parent 5878278 commit 4decfbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/utils/options/readers/data/file.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// This is referenced in valid.tsconfig.json
export const test = true
export const test = true;
4 changes: 2 additions & 2 deletions src/test/utils/options/readers/tsconfig.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ describe('Options - TSConfigReader', () => {
options.setValue('tsconfig', join(__dirname, 'data/valid.tsconfig.json')).unwrap();
options.read(new Logger());
equal(options.getValue('inputFiles').map(f => resolve(f)), [resolve(__dirname, './data/file.ts')]);
})
});

it('Does not set inputFiles if they have been set', () => {
options.reset();
options.setValue('tsconfig', join(__dirname, 'data/valid.tsconfig.json')).unwrap();
options.setValue('inputFiles', ['foo.ts']).unwrap();
options.read(new Logger());
equal(options.getValue('inputFiles'), ['foo.ts']);
})
});
});

0 comments on commit 4decfbe

Please sign in to comment.