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 6f9a541 commit 67a9b4fCopy full SHA for 67a9b4f
tests/bin.destroy.test.ts
@@ -26,6 +26,8 @@ describe('bin/destroy.ts', () => {
26
})
27
28
it('main (no args)', async () => {
29
+ // @ts-ignore
30
+ spawnSync = vi.fn<typeof spawnSync>().mockReturnValue({ status: 0 })
31
const tmpDir = getTempDir()
32
const buildDir = path.join(tmpDir, 'build')
33
fs.mkdirSync(buildDir)
@@ -64,6 +66,8 @@ describe('bin/destroy.ts', () => {
64
66
65
67
68
it('main (with build)', async () => {
69
70
+ spawnSync = vi.fn().mockReturnValue({ status: 0 })
71
72
const propsPath = path.join(tmpDir, '.adapterprops.json')
73
0 commit comments