Skip to content

Commit 9fb365c

Browse files
committed
Skip tls tests locally
1 parent a69abb0 commit 9fb365c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@
3434
"format:check": "prettier --check .",
3535
"typecheck": "tsc --noEmit --project tsconfig.check.json",
3636
"test": "vitest run --coverage",
37+
"test:local": "vitest run --coverage test/test.ts",
3738
"test-browser": "vitest --config ./vitest.config.browser.ts",
3839
"prebuild": "rm -rf dist lib types",
3940
"build": "tsc && tsc --module commonjs --outDir lib/cjs && tsc --emitDeclarationOnly --removeComments false && rollup -c",
4041
"postbuild": "echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json",
4142
"prepare": "npm run build",
42-
"preversion": "npm test",
43+
"preversion": "npm run test:local",
4344
"version": "sed -i'' \"s/VERSION = .*/VERSION = '$npm_package_version'/\" src/amqp-base-client.ts && git add src/amqp-base-client.ts",
4445
"postversion": "node scripts/release-tag.js",
4546
"release": "npm version patch && git push && git push --tags",

0 commit comments

Comments
 (0)