stdlib/bats: implemented integration tests

Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
Sam Alba
2021-12-13 16:12:29 -08:00
parent 56dab104ca
commit c310a1bcdb
7 changed files with 96 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
setup() {
load 'node_modules/bats-support/load'
load 'node_modules/bats-assert/load'
}
@test "simple bats test" {
run echo "Hello world"
assert_success
run cat /do/not/exist
assert_failure
}