Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ export class Assertions {
}

throw fail(new AssertionError(message ?? 'Could not compare snapshot', {
asssertion: 't.snapshot()',
assertion: 't.snapshot()',
improperUsage,
}));
}
Expand Down
2 changes: 1 addition & 1 deletion test-tap/helper/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const run = async (type, reporter, {match = [], filter} = {}) => {
});
}

// Mimick watch mode
// Mimic watch mode
return api.run({files, filter, runtimeOptions: {countPreviousFailures: () => 0, firstRun: true}}).then(() => {
reporter.endRun();
return api.run({files, filter, runtimeOptions: {countPreviousFailures: () => 2, firstRun: false}});
Expand Down
2 changes: 1 addition & 1 deletion test/watch-mode/helpers/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const withFixture = fixture => async (t, task) => {
// Sending the `abort-watcher` message should suffice, but on Linux
// the recursive watch handle does not close properly. See
// <https://github.com/nodejs/node/issues/48437> but there seem to be
// other isues.
// other issues.
setTimeout(() => {
process?.kill('SIGKILL');
}, 1000).unref();
Expand Down
Loading