Skip to content

Commit

Permalink
✅ fix windows test
Browse files Browse the repository at this point in the history
  • Loading branch information
Irvenae committed Apr 17, 2023
1 parent 40e6eee commit 098e358
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/external-assertions/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import {fixture} from '../helpers/exec.js';

test('node assertion ', async t => {
const result = await t.throwsAsync(fixture(['assert-failure.js']));
t.snapshot(result.stdout.replace(/\r/g, ''));
t.snapshot(result.stdout.replace(/\r/g, '').replace(/\/\/\//g, '//'));
});

test('expect error ', async t => {
const result = await t.throwsAsync(fixture(['expect-failure.js']));
t.snapshot(result.stdout.replace(/\r/g, ''));
t.snapshot(result.stdout.replace(/\r/g, '').replace(/\/\/\//g, '//'));
});

0 comments on commit 098e358

Please sign in to comment.