Chapter 8: Travis recipe sample

This commit is contained in:
Beth Griggs
2020-08-03 00:17:02 +01:00
parent d123a16d35
commit 2c7cf712f8
5 changed files with 667 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
const test = require("tape");
test("test integer addition", function (t) {
t.plan(1);
t.equal(1 + 1, 2);
});
test("test string addition", function (t) {
t.plan(1);
// Expected to fail
t.equal("1" + "1", 2);
});