File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
test/unit/specs/mount/options Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,11 @@ describe('mount.slots', () => {
11
11
} )
12
12
13
13
afterEach ( ( ) => {
14
- /* eslint-disable */
15
- window = _window
16
- /* eslint-enable */
14
+ if ( ! window . navigator . userAgent . match ( / C h r o m e / i) ) {
15
+ /* eslint-disable */
16
+ window = _window
17
+ /* eslint-enable */
18
+ }
17
19
} )
18
20
19
21
it ( 'mounts component with default slot if passed component in slot object' , ( ) => {
@@ -38,6 +40,9 @@ describe('mount.slots', () => {
38
40
} )
39
41
40
42
it ( 'throws error if the UserAgent is PhantomJS when passed string is in slot object' , ( ) => {
43
+ if ( window . navigator . userAgent . match ( / C h r o m e / i) ) {
44
+ return
45
+ }
41
46
/* eslint-disable */
42
47
window = { navigator : { userAgent :'PhantomJS' } }
43
48
/* eslint-enable */
You can’t perform that action at this time.
0 commit comments