Skip to content

Commit 4327cc3

Browse files
committed
ci: add tests for CharsetToEncoding constants
1 parent 609229a commit 4327cc3

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { mysql } from '../../index.js';
2+
3+
const charsetToEncoding: string[] = mysql.CharsetToEncoding;
4+
const utf8: string = charsetToEncoding[0];
5+
6+
console.log(utf8, charsetToEncoding);
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { mysqlp as mysql } from '../../index.js';
2+
3+
const charsetToEncoding: string[] = mysql.CharsetToEncoding;
4+
const utf8: string = charsetToEncoding[0];
5+
6+
console.log(utf8, charsetToEncoding);

0 commit comments

Comments
 (0)