From 8bc184ab17a5bbc84899c5f719c85f14d50897e3 Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Sat, 18 Dec 2021 02:32:37 -0800 Subject: [PATCH] Remove test template --- test/commands/hello.test.ts | 17 ----------------- test/mocha.opts | 5 ----- test/tsconfig.json | 9 --------- 3 files changed, 31 deletions(-) delete mode 100644 test/commands/hello.test.ts delete mode 100644 test/mocha.opts delete mode 100644 test/tsconfig.json diff --git a/test/commands/hello.test.ts b/test/commands/hello.test.ts deleted file mode 100644 index 5d22255..0000000 --- a/test/commands/hello.test.ts +++ /dev/null @@ -1,17 +0,0 @@ -import {expect, test} from '@oclif/test' - -describe('hello', () => { - test - .stdout() - .command(['hello']) - .it('runs hello', ctx => { - expect(ctx.stdout).to.contain('hello world') - }) - - test - .stdout() - .command(['hello', '--name', 'jeff']) - .it('runs hello --name jeff', ctx => { - expect(ctx.stdout).to.contain('hello jeff') - }) -}) diff --git a/test/mocha.opts b/test/mocha.opts deleted file mode 100644 index 73fb836..0000000 --- a/test/mocha.opts +++ /dev/null @@ -1,5 +0,0 @@ ---require ts-node/register ---watch-extensions ts ---recursive ---reporter spec ---timeout 5000 diff --git a/test/tsconfig.json b/test/tsconfig.json deleted file mode 100644 index 95898fc..0000000 --- a/test/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "../tsconfig", - "compilerOptions": { - "noEmit": true - }, - "references": [ - {"path": ".."} - ] -}