yarn run v1.22.4
$ jest
PASS tests/index.test.js
✓ captures the serverless configuration (2ms)
✓ captures the options
✓ hooks in before packaging deployment artifacts (1ms)
✓ hooks in before packaging an individual function
✓ disables 'Excluding development dependencies', which only applies to node projects (379ms)
✓ forces whitelisting files to package by excluding all files by default (358ms)
✓ include the bundler standalone files (349ms)
✓ preserve the includes specified in serverless configuration (346ms)
✓ include files for each gem needed by default bundler group - excluding .git/test files (346ms)
Test Suites: 1 passed, 1 total
Tests: 9 passed, 9 total
Snapshots: 0 total
Time: 2.582s, estimated 5s
Ran all test suites.
✨ Done in 5.37s.
Now test are ok
yarn run v1.22.4 $ jest PASS tests/index.test.js ✓ captures the serverless configuration (2ms) ✓ captures the options ✓ hooks in before packaging deployment artifacts (1ms) ✓ hooks in before packaging an individual function ✓ disables 'Excluding development dependencies', which only applies to node projects (379ms) ✓ forces whitelisting files to package by excluding all files by default (358ms) ✓ include the bundler standalone files (349ms) ✓ preserve the includes specified in serverless configuration (346ms) ✓ include files for each gem needed by default bundler group - excluding .git/test files (346ms)
Test Suites: 1 passed, 1 total Tests: 9 passed, 9 total Snapshots: 0 total Time: 2.582s, estimated 5s Ran all test suites. ✨ Done in 5.37s.