Skip to content

Commit c388a49

Browse files
committed
test: skip on windows
1 parent 31f8e58 commit c388a49

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

integration_tests/__tests__/stack_trace.test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
const runJest = require('../runJest');
1212
const {extractSummary} = require('../utils');
13+
const skipOnWindows = require('../../scripts/skip_on_windows');
1314

1415
describe('Stack Trace', () => {
1516
it('prints a stack trace for runtime errors', () => {
@@ -124,6 +125,10 @@ describe('Stack Trace', () => {
124125
});
125126

126127
test('works with custom matchers', () => {
128+
if (skipOnWindows.test()) {
129+
return;
130+
}
131+
127132
const {stderr} = runJest('stack_trace', ['custom_matcher.test.js']);
128133

129134
expect(extractSummary(stderr).rest).toMatchSnapshot();

0 commit comments

Comments
 (0)