From 10782d97a9b36ae2109b5e8da31a282249965737 Mon Sep 17 00:00:00 2001 From: Kirill Nagaitsev Date: Sat, 8 Jun 2019 15:36:22 -0500 Subject: [PATCH] fix(test): fixed ProvidePlugin.test.js --- test/e2e/ProvidePlugin.test.js | 2 +- test/fixtures/provide-plugin-config/foo.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/e2e/ProvidePlugin.test.js b/test/e2e/ProvidePlugin.test.js index bdb7f52d32..3a42331162 100644 --- a/test/e2e/ProvidePlugin.test.js +++ b/test/e2e/ProvidePlugin.test.js @@ -4,7 +4,7 @@ const testServer = require('../helpers/test-server'); const config = require('../fixtures/provide-plugin-config/webpack.config'); const runBrowser = require('../helpers/run-browser'); -describe.skip('ProvidePlugin', () => { +describe('ProvidePlugin', () => { describe('inline', () => { beforeAll((done) => { const options = { diff --git a/test/fixtures/provide-plugin-config/foo.js b/test/fixtures/provide-plugin-config/foo.js index 08bdffd71e..4b70afc8ca 100644 --- a/test/fixtures/provide-plugin-config/foo.js +++ b/test/fixtures/provide-plugin-config/foo.js @@ -1,6 +1,7 @@ 'use strict'; -const SockJSClient = require('../../../client-src/clients/SockJSClient'); +// 'npm run prepare' must be run for this to work during testing +const SockJSClient = require('../../../client/clients/SockJSClient'); window.expectedClient = SockJSClient; // eslint-disable-next-line camelcase, no-undef