File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 9494 cat <<- EOF
9595 import { Client } from '$1';
9696 const client = new Client();
97- const secured = await client.connect();
98- console.log(secured );
97+ const info = await client.connect();
98+ console.log("Encrypted: " + info.encrypted );
9999 await client.end();
100100 EOF
101101 }
@@ -105,16 +105,18 @@ jobs:
105105 npm run test:prod || exit 1
106106 npm run build
107107 gen_code ./dist/src/index.js > test.mjs
108- node test.mjs | tee /dev/stderr | grep -q true
108+ node test.mjs | tee /dev/stderr | grep true
109109 ;;
110110 bun)
111111 # Workaround: https://github.com/oven-sh/bun/issues/1590
112112 dependencies=`jq -r '.dependencies|to_entries|map("\(.key)@\(.value)")|join(" ")' package.json`
113113 ( set -x; mkdir /tmp/bun && cd "$_" && ls -lah && bun install "$dependencies" && rm -rf `pwd`; )
114+ set -x
114115 bun install -p --ignore-scripts
115116 bun build src/index.ts --target bun > ts-postgres.js
116117 gen_code ./ts-postgres.js > test.mjs
117- bun test.mjs | tee /dev/stderr | grep -q true
118+ bun test.mjs
119+ bun test.mjs | tee /dev/stderr | grep true
118120 ;;
119121 esac
120122 env :
You can’t perform that action at this time.
0 commit comments