Skip to content

Commit

Permalink
skip snapshots test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Jul 5, 2024
1 parent 2f9fc7e commit a893650
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
`Error: ␊
at /packages/integrate/__tests__/sourcemaps/sourcemaps.spec.ts:15:26␊
at /packages/integrate/__tests__/sourcemaps/sourcemaps.spec.ts:18:26␊
at Test.callFn (file:///node_modules/.pnpm/[email protected][email protected]/node_modules/ava/lib/test.js:525:26)␊
at Test.run (file:///node_modules/.pnpm/[email protected][email protected]/node_modules/ava/lib/test.js:534:33)␊
at Runner.runSingle (file:///node_modules/.pnpm/[email protected][email protected]/node_modules/ava/lib/runner.js:281:33)␊
Expand Down
Binary file not shown.
3 changes: 3 additions & 0 deletions packages/integrate/__tests__/sourcemaps/sourcemaps.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ interface _Unused8 {}
interface _Unused9 {}

test('should work with sourcemaps', (t) => {
if (process.platform === 'win32') {
return t.pass('Skip on Windows')
}
const projectRoot = join(__dirname, '..', '..', '..', '..')
t.snapshot(
new Error().stack
Expand Down

0 comments on commit a893650

Please sign in to comment.