Skip to content

Commit ad38bd3

Browse files
committed
chore: add test script and initial sanity test
1 parent 67351d5 commit ad38bd3

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"lint:fix": "biome lint --fix .",
1313
"format": "biome format --write .",
1414
"check": "biome check .",
15-
"check:fix": "biome check --write ."
15+
"check:fix": "biome check --write .",
16+
"test": "node --test"
1617
},
1718
"keywords": [],
1819
"author": "",

test/sanity.test.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import assert from 'node:assert/strict';
2+
import test from 'node:test';
3+
4+
test('sanity: 1 + 1 equals 2', () => {
5+
assert.equal(1 + 1, 2);
6+
});
7+

0 commit comments

Comments
 (0)