Skip to content

Commit 95a1474

Browse files
committed
chore: fix linting issues
1 parent 16a2e4a commit 95a1474

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

src/components/simple/ix-picture.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</template>
1212

1313
<script>
14-
export default {
15-
name: 'ix-picture-simple',
16-
};
14+
export default {
15+
name: 'ix-picture-simple',
16+
};
1717
</script>

tests/unit/imgix-component.spec.ts

+6-4
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,18 @@ import { createApp } from 'vue';
66
import _App from '../../src/App.vue';
77
import {
88
expectElementToHaveFixedSrcAndSrcSet,
9-
expectElementToHaveFluidSrcAndSrcSet
9+
expectElementToHaveFluidSrcAndSrcSet,
1010
} from '../helpers/url-assert';
1111

1212
beforeAll(() => {
1313
const el = document.createElement('div');
1414
el.id = 'app';
1515
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');
1921
});
2022

2123
describe('imgix component', () => {

tests/unit/picture-mode-fallback.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
* This test had to split out of the main test suite because there is a bug in
33
* the test runner that causes the test to fail if it is run after the main
44
* test suite.
5-
*
5+
*
66
* See https://github.com/vuejs/vue-jest/issues/389#issuecomment-960248054.
7-
*
7+
*
88
* For similar issues you can also see:
99
* https://github.com/vuejs/vue-test-utils-next/issues/1043,
1010
* https://github.com/vuejs/vue-test-utils-next/pull/1202, or

tests/unit/picture-mode.spec.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import VueImgix from '@/plugins/vue-imgix/index';
33
import { IxPicture } from '@/plugins/vue-imgix/ix-picture';
44
import { config, mount } from '@vue/test-utils';
55

6-
config.global.plugins = [[VueImgix, { domain: 'assets.imgix.net' }]]
6+
config.global.plugins = [[VueImgix, { domain: 'assets.imgix.net' }]];
77

88
describe('Picture Mode', () => {
99
describe('ix-picture', () => {

0 commit comments

Comments
 (0)