diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 516da2e..f3fd0ac 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -1,11 +1,6 @@ name: Node.js CI -on: - push: - // TODO(josh): delete second branch before PR acceptance - branches: ["main", "push-oquznqsqnkqv"] - pull_request: - branches: ["main"] +on: [push, pull_request] jobs: build: diff --git a/package.json b/package.json index 91f8c31..f3de047 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "res:clean": "rescript clean", "res:dev": "rescript -w", "res:format": "rescript format -all", - "test": "onchange --initial '{tests,src}/*.mjs' -- pta 'tests/*.mjs'" + "test": "pta 'tests/*.mjs'", + "test-watch": "onchange --initial '{tests,src}/*.mjs' -- pta 'tests/*.mjs'" }, "dependencies": { "@rescript/react": "^0.13.1", diff --git a/tests/SExpTest.res b/tests/SExpTest.res index 7313f1b..f4a541b 100644 --- a/tests/SExpTest.res +++ b/tests/SExpTest.res @@ -19,7 +19,7 @@ zoraBlock("parse schematic", t => { t->Util.testParse("?1(\\1)", Schematic({schematic: 1, allowed: [1]})) ) t->block("multiple allowed", t => - t->Util.testParse("?1(\\1 \\23 \\4)", Schematic({schematic: 1, allowed: [1, 2, 4]})) + t->Util.testParse("?1(\\1 \\23 \\4)", Schematic({schematic: 1, allowed: [1, 23, 4]})) ) })