Skip to content

Commit 4611517

Browse files
committed
fixed tests
1 parent c417859 commit 4611517

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

test/Integration.test.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ describe("Integration", function() {
4343
optimize: {
4444
maxChunks: 2,
4545
},
46+
define: {
47+
CONST_TRUE: true,
48+
CONST_FALSE: false,
49+
CONST_FUNCTION: function() { return "ok"; },
50+
CONST_NUMBER: 123,
51+
CONST_NUMBER_EXPR: "1*100+23",
52+
CONST_OBJECT: {
53+
A: 1,
54+
B: JSON.stringify("B"),
55+
C: function() { return "C"; }
56+
}
57+
},
4658
amd: {
4759
fromOptions: true
4860
},

0 commit comments

Comments
 (0)