MCPcopy Create free account
hub / github.com/cn-docs/vueuse / pError

Function pError

packages/core/useAsyncQueue/index.test.ts:29–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 }
28
29 const pError = () => {
30 return new Promise((resolve, reject) => {
31 setTimeout(() => {
32 reject(new Error('e'))
33 }, 30)
34 })
35 }
36
37 it('should return the tasks result', async () => {
38 const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected