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 074975b commit 3530bfcCopy full SHA for 3530bfc
test/test.js
@@ -59,6 +59,7 @@ t('getDirectoryHandle(create=true) creates an empty directory', async root => {
59
arrayEqual(await getSortedDirectoryEntries(root), ['non-existing-dir/'])
60
})
61
62
+
63
t('getDirectoryHandle(create=false) returns existing directories', async root => {
64
const existing_handle = await root.getDirectoryHandle('dir-with-contents', { create: true })
65
await createEmptyFile('test-file', existing_handle)
0 commit comments