Skip to content

Commit c58de78

Browse files
committed
Unit tests setup
1 parent 5bba62a commit c58de78

8 files changed

Lines changed: 352 additions & 18 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ asd
22
node_modules
33
package-lock.json
44
ts-debugtrace
5+
tsconfig.tsbuildinfo
6+
build/scripts/*.d.ts
7+
spec/build
58
scripts/client.js
69
scripts/client.ts
710
dev-server

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@
88
"attach": "node scripts/attach.js",
99
"watch": "tsc --watch",
1010
"build": "tsc -p tsconfig.json",
11-
"dev": "node scripts/dev.js"
11+
"dev": "node scripts/dev.js",
12+
"test": "jasmine"
1213
},
1314
"keywords": [],
1415
"author": "",
1516
"license": "UNLICENSED",
1617
"devDependencies": {
17-
"@types/node": "^22.10.7",
18+
"@types/jasmine": "^5.1.5",
19+
"@types/node": "^22.10.9",
1820
"esbuild": "^0.23.1",
19-
"typescript": "^5.4.5"
21+
"jasmine": "^5.5.0",
22+
"typescript": "^5.7.3"
2023
}
2124
}

pnpm-lock.yaml

Lines changed: 301 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec/src/utils.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
describe("hello", () => {
3+
it("should work", () => {});
4+
});
5+

0 commit comments

Comments
 (0)