Skip to content

Commit d876f18

Browse files
[autofix.ci] apply automated fixes
1 parent 2f78cfd commit d876f18

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

test/fixtures/foo-bar-resolver-no-version.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ exports.resolveImport = function (modulePath, sourceFile, config, _, options) {
1414
if (options.context.parserOptions?.project) {
1515
assert.ok(
1616
options.tsconfig,
17-
'the `tsconfig` must be present when `parserOptions.project` is set'
17+
'the `tsconfig` must be present when `parserOptions.project` is set',
1818
)
1919
} else {
2020
assert.ok(
2121
!options.tsconfig,
22-
'the `tsconfig` must not be present when `parserOptions.project` is not set'
22+
'the `tsconfig` must not be present when `parserOptions.project` is not set',
2323
)
2424
}
2525
}

test/fixtures/foo-bar-resolver-v1.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ exports.resolveImport = function (modulePath, sourceFile, config, _, options) {
1414
if (options.context.parserOptions?.project) {
1515
assert.ok(
1616
options.tsconfig,
17-
'the `tsconfig` must be present when `parserOptions.project` is set'
17+
'the `tsconfig` must be present when `parserOptions.project` is set',
1818
)
1919
} else {
2020
assert.ok(
2121
!options.tsconfig,
22-
'the `tsconfig` must not be present when `parserOptions.project` is not set'
22+
'the `tsconfig` must not be present when `parserOptions.project` is not set',
2323
)
2424
}
2525
}

test/fixtures/foo-bar-resolver-v2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ exports.resolve = function (modulePath, sourceFile, config, _, options) {
1414
if (options.context.parserOptions?.project) {
1515
assert.ok(
1616
options.tsconfig,
17-
'the `tsconfig` must be present when `parserOptions.project` is set'
17+
'the `tsconfig` must be present when `parserOptions.project` is set',
1818
)
1919
} else {
2020
assert.ok(
2121
!options.tsconfig,
22-
'the `tsconfig` must not be present when `parserOptions.project` is not set'
22+
'the `tsconfig` must not be present when `parserOptions.project` is not set',
2323
)
2424
}
2525
return { found: false }

test/fixtures/foo-bar-resolver-v3.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ exports.foobarResolver = {
1919
if (options.context.parserOptions?.project) {
2020
assert.ok(
2121
options.tsconfig,
22-
'the `tsconfig` must be present when `parserOptions.project` is set'
22+
'the `tsconfig` must be present when `parserOptions.project` is set',
2323
)
2424
} else {
2525
assert.ok(
2626
!options.tsconfig,
27-
'the `tsconfig` must not be present when `parserOptions.project` is not set'
27+
'the `tsconfig` must not be present when `parserOptions.project` is not set',
2828
)
2929
}
3030
return { found: false }

0 commit comments

Comments
 (0)