Skip to content

Commit 9278b43

Browse files
lint
1 parent fe90c8e commit 9278b43

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

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

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -461,14 +461,16 @@ function compareCommandStartedEvents(
461461
if (expected!.commandName) {
462462
expect(
463463
expected!.commandName,
464-
`expected ${prefix}.commandName to equal ${expected!.commandName} but received ${actual.commandName
464+
`expected ${prefix}.commandName to equal ${expected!.commandName} but received ${
465+
actual.commandName
465466
}`
466467
).to.equal(actual.commandName);
467468
}
468469
if (expected!.databaseName) {
469470
expect(
470471
expected!.databaseName,
471-
`expected ${prefix}.databaseName to equal ${expected!.databaseName} but received ${actual.databaseName
472+
`expected ${prefix}.databaseName to equal ${expected!.databaseName} but received ${
473+
actual.databaseName
472474
}`
473475
).to.equal(actual.databaseName);
474476
}
@@ -486,14 +488,16 @@ function compareCommandSucceededEvents(
486488
if (expected.commandName) {
487489
expect(
488490
expected.commandName,
489-
`expected ${prefix}.commandName to equal ${expected.commandName} but received ${actual.commandName
491+
`expected ${prefix}.commandName to equal ${expected.commandName} but received ${
492+
actual.commandName
490493
}`
491494
).to.equal(actual.commandName);
492495
}
493496
if (expected.databaseName) {
494497
expect(
495498
expected.databaseName,
496-
`expected ${prefix}.databaseName to equal ${expected.databaseName} but received ${actual.databaseName
499+
`expected ${prefix}.databaseName to equal ${expected.databaseName} but received ${
500+
actual.databaseName
497501
}`
498502
).to.equal(actual.databaseName);
499503
}
@@ -508,14 +512,16 @@ function compareCommandFailedEvents(
508512
if (expected.commandName) {
509513
expect(
510514
expected.commandName,
511-
`expected ${prefix}.commandName to equal ${expected.commandName} but received ${actual.commandName
515+
`expected ${prefix}.commandName to equal ${expected.commandName} but received ${
516+
actual.commandName
512517
}`
513518
).to.equal(actual.commandName);
514519
}
515520
if (expected.databaseName) {
516521
expect(
517522
expected.databaseName,
518-
`expected ${prefix}.databaseName to equal ${expected.databaseName} but received ${actual.databaseName
523+
`expected ${prefix}.databaseName to equal ${expected.databaseName} but received ${
524+
actual.databaseName
519525
}`
520526
).to.equal(actual.databaseName);
521527
}

0 commit comments

Comments
 (0)