diff --git a/test/cli/executable.test.ts.bk b/test/cli/executable.test.ts.bk deleted file mode 100644 index 12a44af..0000000 --- a/test/cli/executable.test.ts.bk +++ /dev/null @@ -1,26 +0,0 @@ -import { exec } from 'child_process'; - -function execShellCommand(...cmd: string[]) { - return new Promise((resolve) => { - exec(cmd.join(' '), (error, stdout, stderr) => { - if (error) { - console.warn(error); - } - - resolve(stdout || stderr); - }); - }); -} - -describe('', () => { - it('', async () => { - const result = await execShellCommand( - './dist/cli.js', - 'extract', - 'test/**/*.html', - 'test/extracted.json', - ); - - expect(result).toBe('10'); - }); -});