-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace shell scripts by JavaScript tests (#325)
- Loading branch information
Showing
13 changed files
with
655 additions
and
438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
/** | ||
* A replacer function for JSON.stringify. | ||
* A replacer function for {@linkcode JSON.stringify}. | ||
*/ | ||
export type Replacer = (key: string, value: unknown) => unknown; | ||
|
||
/** | ||
* A reviver function for JSON.parse. | ||
* A reviver function for {@linkcode JSON.parse}. | ||
*/ | ||
export type Reviver = (key: string, value: unknown) => unknown; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,9 +54,9 @@ | |
"prettier-check": "prettier . --check --cache", | ||
"prettier-fix": "prettier . --write --cache", | ||
"test": "turbo run testing check-engines --continue", | ||
"test-sync": "npm run test-run && npm run jest", | ||
"test-run": "(cd test/ && ./run.sh)", | ||
"test-run-record": "(cd test/ && ./run.sh record)", | ||
"test-sync": "npm run jest && npm run test-run", | ||
"test-run": "(cd test/ && node ./run.mjs)", | ||
"test-run-record": "(cd test/ && node ./run.mjs record)", | ||
"tsc": "tsc", | ||
"tsc-watch": "tsc --watch" | ||
}, | ||
|
@@ -111,7 +111,8 @@ | |
"ls-engines": "^0.9.3", | ||
"prettier": "^2.8.8", | ||
"turbo": "^2.2.3", | ||
"typescript": "~5.6.3" | ||
"typescript": "~5.6.3", | ||
"zx": "^8.2.4" | ||
}, | ||
"packageManager": "[email protected]+sha512.dc700d97c8bd0ca9d403cf4fe0a12054d376f048d27830a6bc4a9bcce02ec42143cdd059ce3525f7dce09c6a4e52e9af5b996f268d8729c8ebb1cfad7f2bf51f", | ||
"engines": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
module A exposing (..) | ||
import Html exposing (text) | ||
main = text "Hello!" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
module A exposing (..) | ||
import Html exposing (text) | ||
main = text "Hello!" | ||
|
Oops, something went wrong.