Skip to content

Commit

Permalink
Revert "removed unneccessary tests"
Browse files Browse the repository at this point in the history
This reverts commit ef7038b6d873b4e6cb6dc245908648787530f27b.
  • Loading branch information
devilkiller-ag committed Feb 22, 2024
1 parent 4b0bca0 commit ec232aa
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modelina-cli/test/commands/hello/index.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import {expect, test} from '@oclif/test'

describe('hello', () => {
test
.stdout()
.command(['hello', 'friend', '--from=oclif'])
.it('runs hello cmd', ctx => {
expect(ctx.stdout).to.contain('hello friend from oclif!')
})
})
10 changes: 10 additions & 0 deletions modelina-cli/test/commands/hello/world.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import {expect, test} from '@oclif/test'

describe('hello world', () => {
test
.stdout()
.command(['hello:world'])
.it('runs hello world cmd', ctx => {
expect(ctx.stdout).to.contain('hello world!')
})
})
3 changes: 3 additions & 0 deletions modelina-cli/test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
"compilerOptions": {
"noEmit": true
},
"references": [
{"path": ".."}
]
}

0 comments on commit ec232aa

Please sign in to comment.