Skip to content

Commit

Permalink
ci: add tests for CharsetToEncoding constants
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel committed Jun 24, 2023
1 parent 609229a commit 4327cc3
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/CharsetToEncoding.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { mysql } from '../../index.js';

const charsetToEncoding: string[] = mysql.CharsetToEncoding;
const utf8: string = charsetToEncoding[0];

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

const charsetToEncoding: string[] = mysql.CharsetToEncoding;
const utf8: string = charsetToEncoding[0];

console.log(utf8, charsetToEncoding);

0 comments on commit 4327cc3

Please sign in to comment.