mirror of https://github.com/webpack/webpack.git
Add a test to check typeof transformation
This commit is contained in:
parent
800c46e89c
commit
0d89a45403
|
@ -0,0 +1,5 @@
|
|||
const type = require("./typeof");
|
||||
|
||||
it("should not output invalid code", () => {
|
||||
expect(type).toBe("number");
|
||||
});
|
|
@ -0,0 +1,2 @@
|
|||
typeof 1
|
||||
module.exports = "number"
|
Loading…
Reference in New Issue