Skip to content

Commit

Permalink
fix(test): fixed ProvidePlugin.test.js (#2002)
Browse files Browse the repository at this point in the history
  • Loading branch information
knagaitsev authored and evilebottnawi committed Jun 10, 2019
1 parent a3996ec commit 47453cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e/ProvidePlugin.test.js
Expand Up @@ -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 = {
Expand Down
3 changes: 2 additions & 1 deletion 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
Expand Down

0 comments on commit 47453cb

Please sign in to comment.