mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-01-06 13:34:50 +08:00
Fix test
This commit is contained in:
parent
1a475b5bc8
commit
2eb6e294cf
@ -1,6 +1,9 @@
|
|||||||
import { mount } from '@vue/test-utils';
|
import { mount } from '@vue/test-utils';
|
||||||
import Previewer from '@/common/Previewer';
|
import Previewer from '@/common/Previewer';
|
||||||
import * as mockedSkinview3d from '../../__mocks__/skinview3d';
|
import * as mockedSkinview3d from '../../__mocks__/skinview3d';
|
||||||
|
import '../../../src/images/textures/steve.png';
|
||||||
|
|
||||||
|
jest.mock('../../../src/images/textures/steve.png', () => '');
|
||||||
|
|
||||||
test('initialize skinview3d', () => {
|
test('initialize skinview3d', () => {
|
||||||
const wrapper = mount(Previewer);
|
const wrapper = mount(Previewer);
|
||||||
|
Loading…
Reference in New Issue
Block a user