zeptometer / jest-pdf-snapshot

Jest matcher for pdf comparison.
MIT License
10 stars 1 forks source link

Separate unit tests and integration tests #4

Closed zeptometer closed 4 years ago

zeptometer commented 4 years ago

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 and yarn test. We don't need to run such as heavy-weight tests every once.

Goal

zeptometer commented 4 years ago

jest-runner-groups seems to be a good solution. (cf. Separating unit and integration tests in Jest)