Skip to content

Commit

Permalink
Fix 3 more
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Jul 20, 2023
1 parent 65dc7f4 commit 498b904
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/lint-files.js
Expand Up @@ -234,13 +234,13 @@ test.serial('typescript 2 space option', async t => {

test.serial('typescript 4 space option', async t => {
const {errorCount, results} = await xo.lintFiles('child/sub-child/four-spaces.ts', {cwd: 'fixtures/typescript', space: 4});
// eslint-disable-next-line ava/assertion-arguments
// eslint-disable-next-line ava/assertion-arguments -- Type issue
t.is(errorCount, 0, JSON.stringify(results[0].messages));
});

test.serial('typescript no semicolon option', async t => {
const {errorCount, results} = await xo.lintFiles('child/no-semicolon.ts', {cwd: 'fixtures/typescript', semicolon: false});
// eslint-disable-next-line ava/assertion-arguments
// eslint-disable-next-line ava/assertion-arguments -- Type issue
t.is(errorCount, 0, JSON.stringify(results[0].messages));
});

Expand Down

0 comments on commit 498b904

Please sign in to comment.