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 773f59c commit 05dcb21Copy full SHA for 05dcb21
test/nuxt/components/CodeFileTree.spec.ts
@@ -59,7 +59,7 @@ async function mountCodeFileTree() {
59
}
60
61
describe('CodeFileTree', () => {
62
- it('keeps a collapsed sibling directory closed when another sibling expands', async () => {
+ it('expands and collapses a directory when clicked', async () => {
63
const wrapper = await mountCodeFileTree()
64
65
await vi.waitFor(() => {
@@ -73,6 +73,7 @@ describe('CodeFileTree', () => {
73
74
75
expect(wrapper.text()).not.toContain('constants.d.ts')
76
+ expect(wrapper.text()).not.toContain('common.d.ts')
77
})
78
79
const typesButton = findDirButton(wrapper, 'types')
0 commit comments