From e6f048ba5b5de14707373a50c294ad8e22ba8072 Mon Sep 17 00:00:00 2001 From: riesinger Date: Sun, 3 Mar 2019 16:34:01 -0800 Subject: [PATCH] refactor(test): remove workaround for jest 24 The workaround was needed because jest 24.0 had a dependency cycle and therefore was problematic to import and use programatically. See https://github.com/facebook/jest/issues/7704. This closes #25. --- scripts/test.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/test.js b/scripts/test.js index 0013e46b..841ab0f3 100644 --- a/scripts/test.js +++ b/scripts/test.js @@ -1,11 +1,5 @@ 'use strict'; -/* - * @todo Remove jest workaround from test.js - * @body This workaround was added because of a problem with using jest 24 programmatically. See https://github.com/facebook/jest/issues/7704 - */ -require('jest/node_modules/jest-cli/build/cli'); - // 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';