We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd83633 commit 37b0918Copy full SHA for 37b0918
test-image.bats
@@ -1,17 +1,17 @@
1
#!/usr/bin/env bats
2
3
@test "Test for node and version" {
4
- run docker run --rm -it node:"$full_tag" node -e "process.stdout.write(process.versions.node)"
+ run docker run --rm node:"$full_tag" node -e "process.stdout.write(process.versions.node)"
5
[ "$status" -eq 0 ]
6
[ "$output" == "${full_version}" ]
7
}
8
9
@test "Test for npm" {
10
- run docker run --rm -it node:"$full_tag" npm --version
+ run docker run --rm node:"$full_tag" npm --version
11
12
13
14
@test "Test for yarn" {
15
- run docker run --rm -it node:"$full_tag" yarn --version
+ run docker run --rm node:"$full_tag" yarn --version
16
17
0 commit comments