Closed zeptometer closed 4 years ago
Currently, the whole test run usually takes around 40s, which is not ideal. The main reason is that jest-pdf-snapshot has integration tests in which we run yarn install and yarn test. We don't need to run such as heavy-weight tests every once.
yarn install
yarn test
jest-runner-groups seems to be a good solution. (cf. Separating unit and integration tests in Jest)
Background
Currently, the whole test run usually takes around 40s, which is not ideal. The main reason is that jest-pdf-snapshot has integration tests in which we run
yarn install
andyarn test
. We don't need to run such as heavy-weight tests every once.Goal
yarn test
run only unit tests