Skip to content

Commit 47453cb

Browse files
knagaitsevevilebottnawi
authored andcommitted
fix(test): fixed ProvidePlugin.test.js (#2002)
1 parent a3996ec commit 47453cb

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎test/e2e/ProvidePlugin.test.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const testServer = require('../helpers/test-server');
44
constconfig=require('../fixtures/provide-plugin-config/webpack.config');
55
construnBrowser=require('../helpers/run-browser');
66

7-
describe.skip('ProvidePlugin',()=>{
7+
describe('ProvidePlugin',()=>{
88
describe('inline',()=>{
99
beforeAll((done)=>{
1010
constoptions={

‎test/fixtures/provide-plugin-config/foo.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict';
22

3-
constSockJSClient=require('../../../client-src/clients/SockJSClient');
3+
// 'npm run prepare' must be run for this to work during testing
4+
constSockJSClient=require('../../../client/clients/SockJSClient');
45

56
window.expectedClient=SockJSClient;
67
// eslint-disable-next-line camelcase, no-undef

0 commit comments

Comments
 (0)