ahbeng/NUSMods

View on GitHub
scrapers/nus-v2/scripts/jest-setup.js

Summary

Maintainability
A
0 mins
Test Coverage
/* eslint-env jest */

// Always mock config since on CI the env file does not exist. Also ensures
// the keys don't get inadvertently invoked during tests.
jest.mock('../src/config.ts');