We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40e6eee commit 098e358Copy full SHA for 098e358
test/external-assertions/test.js
@@ -4,10 +4,10 @@ import {fixture} from '../helpers/exec.js';
4
5
test('node assertion ', async t => {
6
const result = await t.throwsAsync(fixture(['assert-failure.js']));
7
- t.snapshot(result.stdout.replace(/\r/g, ''));
+ t.snapshot(result.stdout.replace(/\r/g, '').replace(/\/\/\//g, '//'));
8
});
9
10
test('expect error ', async t => {
11
const result = await t.throwsAsync(fixture(['expect-failure.js']));
12
13
0 commit comments