Commit 95a1474 1 parent 16a2e4a commit 95a1474 Copy full SHA for 95a1474
File tree 4 files changed +12
-10
lines changed
4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 11
11
</template >
12
12
13
13
<script >
14
- export default {
15
- name: ' ix-picture-simple' ,
16
- };
14
+ export default {
15
+ name: ' ix-picture-simple' ,
16
+ };
17
17
</script >
Original file line number Diff line number Diff line change @@ -6,16 +6,18 @@ import { createApp } from 'vue';
6
6
import _App from '../../src/App.vue' ;
7
7
import {
8
8
expectElementToHaveFixedSrcAndSrcSet ,
9
- expectElementToHaveFluidSrcAndSrcSet
9
+ expectElementToHaveFluidSrcAndSrcSet ,
10
10
} from '../helpers/url-assert' ;
11
11
12
12
beforeAll ( ( ) => {
13
13
const el = document . createElement ( 'div' ) ;
14
14
el . id = 'app' ;
15
15
document . body . appendChild ( el ) ;
16
- createApp ( _App ) . use ( VueImgix , {
17
- domain : 'assets.imgix.net' ,
18
- } ) . mount ( '#app' ) ;
16
+ createApp ( _App )
17
+ . use ( VueImgix , {
18
+ domain : 'assets.imgix.net' ,
19
+ } )
20
+ . mount ( '#app' ) ;
19
21
} ) ;
20
22
21
23
describe ( 'imgix component' , ( ) => {
Original file line number Diff line number Diff line change 2
2
* This test had to split out of the main test suite because there is a bug in
3
3
* the test runner that causes the test to fail if it is run after the main
4
4
* test suite.
5
- *
5
+ *
6
6
* See https://github.com/vuejs/vue-jest/issues/389#issuecomment-960248054.
7
- *
7
+ *
8
8
* For similar issues you can also see:
9
9
* https://github.com/vuejs/vue-test-utils-next/issues/1043,
10
10
* https://github.com/vuejs/vue-test-utils-next/pull/1202, or
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import VueImgix from '@/plugins/vue-imgix/index';
3
3
import { IxPicture } from '@/plugins/vue-imgix/ix-picture' ;
4
4
import { config , mount } from '@vue/test-utils' ;
5
5
6
- config . global . plugins = [ [ VueImgix , { domain : 'assets.imgix.net' } ] ]
6
+ config . global . plugins = [ [ VueImgix , { domain : 'assets.imgix.net' } ] ] ;
7
7
8
8
describe ( 'Picture Mode' , ( ) => {
9
9
describe ( 'ix-picture' , ( ) => {
You can’t perform that action at this time.
0 commit comments