Skip to content

Commit

Permalink
ci: add tests for Charsets constants
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel committed Jun 24, 2023
1 parent 51c4196 commit 3661c0f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/tsc-build/mysql/constants/Charsets.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { mysql } from '../../index.js';

const BIG5_CHINESE_CI: number = mysql.Charsets.BIG5_CHINESE_CI;
const BIG5: number = mysql.Charsets.BIG5;

console.log(BIG5_CHINESE_CI, BIG5);
6 changes: 6 additions & 0 deletions test/tsc-build/promise/constants/Charsets.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { mysqlp as mysql } from '../../index.js';

const BIG5_CHINESE_CI: number = mysql.Charsets.BIG5_CHINESE_CI;
const BIG5: number = mysql.Charsets.BIG5;

console.log(BIG5_CHINESE_CI, BIG5);

0 comments on commit 3661c0f

Please sign in to comment.