Skip to content
This repository was archived by the owner on Jun 18, 2025. It is now read-only.

Commit 126e8f3

Browse files
committed
Make tests pass with new export signature
The plugin now provides a default and named exports. So the tests now must explicitly test the default export.
1 parent 5198d60 commit 126e8f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/plugin.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { mount } from '@vue/test-utils';
22
import { createApp } from 'vue';
3-
import * as Main from '../plugin';
3+
import Main from '../plugin';
44
import io from '../__mocks__/socket.io-client';
55

66
it('should be vue plugin (is an object with `install` method)', () => {

0 commit comments

Comments
 (0)