the next generation of the in-browser educational proof assistant
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

add testing framework

Josh Brown 105d1c42 e1bd4951

+11 -13
+3 -1
package.json
··· 11 11 "res:build": "rescript", 12 12 "res:clean": "rescript clean", 13 13 "res:dev": "rescript -w", 14 - "res:format": "rescript format -all" 14 + "res:format": "rescript format -all", 15 + "test": "retest tests/*.mjs" 15 16 }, 16 17 "dependencies": { 17 18 "@rescript/react": "^0.13.1", ··· 30 31 "eslint-plugin-react-hooks": "^5.2.0", 31 32 "eslint-plugin-react-refresh": "^0.4.19", 32 33 "globals": "^16.0.0", 34 + "rescript-test": "^7.0.1", 33 35 "typescript": "~5.8.3", 34 36 "typescript-eslint": "^8.30.1", 35 37 "vite": "^6.3.5"
+8 -12
rescript.json
··· 1 1 { 2 2 "name": "holbert-ng", 3 - "sources": { 4 - "dir": "src", 5 - "subdirs": true 6 - }, 3 + "sources": [ 4 + { "dir": "src", "subdirs": true }, 5 + { "dir": "tests", "subdirs": true, "type": "dev" } 6 + ], 7 7 "package-specs": { 8 8 "module": "esmodule", 9 9 "in-source": true 10 10 }, 11 11 "suffix": ".mjs", 12 - "bs-dependencies": [ 13 - "@rescript/core", 14 - "@rescript/react" 15 - ], 16 - "bsc-flags": [ 17 - "-open RescriptCore" 18 - ], 19 - "jsx": { "version": 4 }, 12 + "bs-dependencies": ["@rescript/core", "@rescript/react"], 13 + "bs-dev-dependencies": ["rescript-test"], 14 + "bsc-flags": ["-open RescriptCore"], 15 + "jsx": { "version": 4 } 20 16 }