We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e079741 commit 0a1ba2eCopy full SHA for 0a1ba2e
test/index.test.ts
@@ -1,7 +1,15 @@
1
import { expect, it, describe } from 'vitest'
2
+import * as actualDevtools from '@vue/devtools-api'
3
import * as devtoolsAPI from '../src'
4
5
describe('vue-devtools-stub', () => {
6
+ describe('has same exports of @vue/devtools-api', () => {
7
+ for (const key in actualDevtools) {
8
+ it(key, () => {
9
+ expect(typeof (devtoolsAPI as any)[key]).toBe(typeof (actualDevtools as any)[key])
10
+ })
11
+ }
12
13
it('setupDevtoolsPlugin', () => {
14
expect(devtoolsAPI.setupDevtoolsPlugin()).toBe(undefined)
15
})
0 commit comments