mirror of https://github.com/webpack/webpack.git
test: deprecation warning
This commit is contained in:
parent
1b7f0e1e95
commit
3c753354bf
|
@ -322,7 +322,7 @@ describe("JavascriptParser", () => {
|
|||
testParser.state.expressions.push(expr.name);
|
||||
return true;
|
||||
});
|
||||
testParser.hooks.new.tap("xyz", "JavascriptParserTest", expr => {
|
||||
testParser.hooks.new.for("xyz").tap("JavascriptParserTest", expr => {
|
||||
if (!testParser.state.xyz) testParser.state.xyz = [];
|
||||
testParser.state.xyz.push(testParser.parseString(expr.arguments[0]));
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue