diff --git a/test-image.bats b/test-image.bats index 0ed164867..b424b95a4 100755 --- a/test-image.bats +++ b/test-image.bats @@ -1,17 +1,17 @@ #!/usr/bin/env bats @test "Test for node and version" { - 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)" [ "$status" -eq 0 ] [ "$output" == "${full_version}" ] } @test "Test for npm" { - run docker run --rm -it node:"$full_tag" npm --version + run docker run --rm node:"$full_tag" npm --version [ "$status" -eq 0 ] } @test "Test for yarn" { - run docker run --rm -it node:"$full_tag" yarn --version + run docker run --rm node:"$full_tag" yarn --version [ "$status" -eq 0 ] }