Skip to content

Commit ab873a0

Browse files
committed
added copy step for json file
1 parent 2239fdc commit ab873a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

transport-node/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"MAINTAINERS.md"
3838
],
3939
"scripts": {
40-
"build": "tsc",
40+
"build": "tsc && shx cp src/*.json lib/",
4141
"clean": "shx rm -Rf ./lib/*",
4242
"fmt": "deno fmt src/ examples/ test/ ",
4343
"prepack": "npm run check-package && npm run build",

transport-node/tests/basics_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe(
4343
});
4444
it("basics - connect default", async () => {
4545
const ns = await NatsServer.start({ port: 4222 });
46-
const nc = await connect({ debug: true });
46+
const nc = await connect();
4747
await nc.flush();
4848
await nc.close();
4949
await ns.stop();

0 commit comments

Comments
 (0)