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 df9b58b commit 106902dCopy full SHA for 106902d
1 file changed
test/nuxt/composables/use-colors.spec.ts
@@ -77,6 +77,8 @@ describe('useCssVariables', () => {
77
await nextTick()
78
79
expect(useMutationObserverMock).not.toHaveBeenCalled()
80
+ expect(lastMutationObserverInstance).not.toBeNull()
81
+ expect(lastMutationObserverInstance!.observe).toHaveBeenCalledTimes(1)
82
83
wrapper.unmount()
84
})
@@ -93,7 +95,8 @@ describe('useCssVariables', () => {
93
95
94
96
97
- expect(useMutationObserverMock).toHaveBeenCalledOnce()
98
99
100
101
102
0 commit comments