File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
tests/unit/bootstrap-plugin Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ let normalReplacementStub = stub();
15
15
16
16
describe ( 'bootstrap-plugin' , ( ) => {
17
17
beforeEach ( ( ) => {
18
+ defineStub . reset ( ) ;
19
+ normalReplacementStub . reset ( ) ;
20
+
18
21
mockModule = new MockModule ( '../../../src/bootstrap-plugin/BootstrapPlugin' , require ) ;
19
22
mockModule . dependencies ( [ 'wrapper-webpack-plugin' ] ) ;
20
23
@@ -124,7 +127,7 @@ window.DojoHasEnvironment = { staticFeatures: shimFeatures };`
124
127
125
128
assert . isTrue ( defineStub . calledOnce ) ;
126
129
assert . deepEqual ( defineStub . firstCall . args [ 0 ] , {
127
- __MAIN_CSS_ENTRY : null ,
130
+ __MAIN_CSS_ENTRY : ' null' ,
128
131
__MAIN_ENTRY : '"main"' ,
129
132
__dojoframeworkshimIntersectionObserver : '"no-bootstrap"' ,
130
133
__dojoframeworkshimWebAnimations : '"no-bootstrap"' ,
You can’t perform that action at this time.
0 commit comments