@@ -44,19 +44,19 @@ describe('StyleCalculator', function(done) {
44
44
assert . deepEqual ( Object . keys ( configChangeCallbacks ) , [ 'config1' , 'config2' ] ) ;
45
45
assert . equal ( stylesMock . addStyleSheet . callCount , 1 ) ;
46
46
assert . deepEqual ( stylesMock . addStyleSheet . getCall ( 0 ) . args , [
47
- expectedCss , { sourcePath : 'my-source-path' } ,
47
+ expectedCss , { sourcePath : 'my-source-path' , priority : 0 } ,
48
48
] ) ;
49
49
50
50
configChangeCallbacks . config1 ( ) ;
51
51
assert . equal ( stylesMock . addStyleSheet . callCount , 2 ) ;
52
52
assert . deepEqual ( stylesMock . addStyleSheet . getCall ( 1 ) . args , [
53
- expectedCss , { sourcePath : 'my-source-path' } ,
53
+ expectedCss , { sourcePath : 'my-source-path' , priority : 0 } ,
54
54
] ) ;
55
55
56
56
configChangeCallbacks . config2 ( ) ;
57
57
assert . equal ( stylesMock . addStyleSheet . callCount , 3 ) ;
58
58
assert . deepEqual ( stylesMock . addStyleSheet . getCall ( 2 ) . args , [
59
- expectedCss , { sourcePath : 'my-source-path' } ,
59
+ expectedCss , { sourcePath : 'my-source-path' , priority : 0 } ,
60
60
] ) ;
61
61
} ) ;
62
62
} ) ;
0 commit comments