Skip to content

Commit

Permalink
test: remove typescript 3.7 compat tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jun 14, 2024
1 parent e8443ea commit bafaca0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@
"install": "(shx test -f ./script/build.js || run-s build.js) && cross-env npm_config_build_from_source=true aminya-node-gyp-build",
"clean": "shx rm -rf ./build ./lib/ ./prebuilds ./script/*.js ./script/*.js.map ./script/*.d.ts ./script/*.tsbuildinfo",
"clean.temp": "shx rm -rf ./tmp && shx mkdir -p ./tmp && shx touch ./tmp/.gitkeep",
"build.library.compat": "shx rm -rf ./lib/ts3.7 && downlevel-dts ./lib ./lib/ts3.7 --to=3.7",
"build.library": "tsc -p ./src/tsconfig.json && run-s build.library.compat",
"build.library": "tsc -p ./src/tsconfig.json",
"build.script": "tsc -p ./script/tsconfig.json && tsc -p ./script/tsconfig.esm.json",
"build.js": "run-p build.script build.library",
"build.doc": "typedoc --options ./typedoc.json && minify-all -s docs-raw -d docs --jsCompressor terser",
Expand Down
3 changes: 0 additions & 3 deletions test/unit/typings-compatibility-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ import {assert} from "chai"
type TestDef = {version: string; minTarget: string; requiredLibs?: string[]}

const tsVersions: TestDef[] = [
// the oldest supported version
{version: "3.7.x", minTarget: "es3"},

// 4.x
{version: "4.x", minTarget: "es3"},
]
Expand Down

0 comments on commit bafaca0

Please sign in to comment.