Skip to content

Commit ca0c5eb

Browse files
committed
Disable Jest cache when retrying
1 parent 48fb4e7 commit ca0c5eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test-win.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
- name: Jest
5151
run: >-
5252
yarn test:coverage --ci -i --reporters=default --reporters=jest-junit ||
53-
yarn test:coverage --ci -i --reporters=default --reporters=jest-junit ||
54-
yarn test:coverage --ci -i --reporters=default --reporters=jest-junit
53+
yarn test:coverage --ci -i --reporters=default --reporters=jest-junit --no-cache ||
54+
yarn test:coverage --ci -i --reporters=default --reporters=jest-junit --no-cache
5555
env:
5656
CI: true
5757

test/preview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { File, FileType } from '../src/file'
55
import { Preview, fileToURI } from '../src/preview'
66

77
jest.mock('path')
8-
jest.setTimeout(60000)
8+
jest.setTimeout(40000)
99

1010
describe('Preview', () => {
1111
const previews = new Set<Preview>()

0 commit comments

Comments
 (0)