Skip to content

Commit

Permalink
chore: add test-cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
erossignon committed Nov 18, 2023
1 parent 7702c2f commit d570050
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/node-opcua-crypto-test/test-cjs/test_cjs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const { exploreCertificateInfo } = require("../../node-opcua-crypto");
// eslint-disable-next-line no-undef


try {
exploreCertificateInfo(Buffer.from("123"));
} catch (err) {
console.log(err.message);
}
console.log("OK");

0 comments on commit d570050

Please sign in to comment.