Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(test): fix ProvidePlugin.test.js #2002

Merged
merged 1 commit into from Jun 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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