shabados / actions

Cross-repository utilities repository
MIT License
0 stars 4 forks source link

Fix failing CI/CD tests #52

Closed Harjot1Singh closed 2 years ago

Harjot1Singh commented 2 years ago

Summary of PR

CI/CD tests were failing because of context.job causing tests to fire twice and therefore messing with one-time mocks.

This PR removes the context.job entrypoint, which was only added because require.main === module did not work when compiled with ncc. This has since changed with the latest version of ncc, so context.job is no longer required.