Skip to content

Commit 68dea9c

Browse files
fix: eslint
1 parent 20d7369 commit 68dea9c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

test/tools/unified-spec-runner/match.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,15 @@ export function specialCheck(
256256
const actualExists = actual !== undefined && actual !== null;
257257

258258
if (expected.$$exists) {
259-
expect(actualExists, ejson`expected value at path ${path.join} to exist, but received ${actual}`)
260-
.to.be.true;
259+
expect(
260+
actualExists,
261+
ejson`expected value at path ${path.join} to exist, but received ${actual}`
262+
).to.be.true;
261263
} else {
262-
expect(actualExists, ejson`expected value at path ${path.join} NOT to exist, but received ${actual}`)
263-
.to.be.false;
264+
expect(
265+
actualExists,
266+
ejson`expected value at path ${path.join} NOT to exist, but received ${actual}`
267+
).to.be.false;
264268
}
265269
} else {
266270
expect.fail(`Unknown special operator: ${JSON.stringify(expected)}`);

0 commit comments

Comments
 (0)