Skip to content

Commit b2c5b49

Browse files
committed
ci: add tests for parserCache typings
1 parent 891a523 commit b2c5b49

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { mysql } from '../../index.js';
2+
3+
mysql.clearParserCache();
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+
mysql.setMaxParserCache(1000);
4+
5+
// @ts-expect-error: The `max` param is required
6+
mysql.setMaxParserCache();
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { mysqlp as mysql } from '../../index.js';
2+
3+
mysql.clearParserCache();
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+
mysql.setMaxParserCache(1000);
4+
5+
// @ts-expect-error: The `max` param is required
6+
mysql.setMaxParserCache();

0 commit comments

Comments
 (0)