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.
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 becauserequire.main === module
did not work when compiled withncc
. This has since changed with the latest version ofncc
, socontext.job
is no longer required.