We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d9be0e commit e0b3046Copy full SHA for e0b3046
test/integration/vue.spec.js
@@ -12,7 +12,7 @@ var webpackMajorVersion = require('./webpackVersion')();
12
13
describe('[INTEGRATION] vue', function () {
14
this.timeout(60000);
15
- process.setMaxListeners(20);
+ process.setMaxListeners(0);
16
var plugin;
17
var files;
18
var compiler;
@@ -164,7 +164,7 @@ describe('[INTEGRATION] vue', function () {
164
var source = checker.program.getSourceFile(sourceFilePath);
165
expect(source).to.not.be.undefined;
166
// remove padding lines
167
- var text = source.text.replace(/^\s*\/\/.*$\n/gm, '');
+ var text = source.text.replace(/^\s*\/\/.*$\r*\n/gm, '');
168
expect(text.startsWith('/* OK */')).to.be.true;
169
});
170
0 commit comments