summaryrefslogtreecommitdiff
path: root/integration_test.go
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-05-28 11:16:38 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-05-28 13:27:05 -0400
commit08d3850fa88df2319300874c701da1415b7372a0 (patch)
tree2646ad5482e2c3c5402bafd37f8340e93c70cc39 /integration_test.go
parent844f565cc053b188473a209e8642772ad42b43bd (diff)
Add tests.ts for fast unit tests.
Also deno_testing/ which will be released as a standalone module.
Diffstat (limited to 'integration_test.go')
-rw-r--r--integration_test.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/integration_test.go b/integration_test.go
index 37c87f30a..a3f8f16ce 100644
--- a/integration_test.go
+++ b/integration_test.go
@@ -144,3 +144,14 @@ func TestErrors(t *testing.T) {
t.Fatalf("Expected error.")
}
}
+
+func TestTestsTs(t *testing.T) {
+ integrationTestSetup()
+ cmd := exec.Command(denoFn, "tests.ts")
+ cmd.Stdout = os.Stdout
+ cmd.Stderr = os.Stderr
+ err := cmd.Run()
+ if err != nil {
+ t.Fatal(err.Error())
+ }
+}