Dejected project back to react-scripts, where posible

This commit is contained in:
Alejandro Celaya
2022-03-24 21:27:33 +01:00
parent 0e4e430673
commit 2795bf050e
13 changed files with 9864 additions and 17478 deletions

View File

@@ -1,4 +1,3 @@
// Do this as the first thing so that any code reading it knows the right env.
process.env.BABEL_ENV = 'test';
process.env.NODE_ENV = 'test';
@@ -11,9 +10,6 @@ process.on('unhandledRejection', (err) => {
throw err;
});
// Ensure environment variables are read.
require('../config/env');
// Make tests to be matched inside tests folder
const jest = require('jest');