Skip to content

Commit

Permalink
coverage for providers
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Apr 22, 2023
1 parent 219c9bd commit a5a4eda
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</p>


# tea/cli 0.28.4
# tea/cli 0.29.0

`tea` puts the whole open source ecosystem at your fingertips:

Expand Down
10 changes: 10 additions & 0 deletions tests/integration/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,13 @@ it(suite, "tea /bin/ls", async function() {
const out = await this.run({ args: ["/bin/ls", "foo"] }).stdout()
assertEquals(out, "bar\n")
})

it(suite, "tea chalk --version (via npx provider)", async function() {
this.sandbox.join("foo").mkdir().join("bar").touch()
await this.run({ args: ["chalk", "--version"] })
})

it(suite, "tea http-server --help (via npx provider)", async function() {
this.sandbox.join("foo").mkdir().join("bar").touch()
await this.run({ args: ["http-server", "--help"] })
})

0 comments on commit a5a4eda

Please sign in to comment.