@malloydata/malloy-tests 0.0.223-dev241213043533 → 0.0.223-dev241216182944

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -21,13 +21,13 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@jest/globals": "^29.4.3",
24
- "@malloydata/db-bigquery": "^0.0.223-dev241213043533",
25
- "@malloydata/db-duckdb": "^0.0.223-dev241213043533",
26
- "@malloydata/db-postgres": "^0.0.223-dev241213043533",
27
- "@malloydata/db-snowflake": "^0.0.223-dev241213043533",
28
- "@malloydata/db-trino": "^0.0.223-dev241213043533",
29
- "@malloydata/malloy": "^0.0.223-dev241213043533",
30
- "@malloydata/render": "^0.0.223-dev241213043533",
24
+ "@malloydata/db-bigquery": "^0.0.223-dev241216182944",
25
+ "@malloydata/db-duckdb": "^0.0.223-dev241216182944",
26
+ "@malloydata/db-postgres": "^0.0.223-dev241216182944",
27
+ "@malloydata/db-snowflake": "^0.0.223-dev241216182944",
28
+ "@malloydata/db-trino": "^0.0.223-dev241216182944",
29
+ "@malloydata/malloy": "^0.0.223-dev241216182944",
30
+ "@malloydata/render": "^0.0.223-dev241216182944",
31
31
  "events": "^3.3.0",
32
32
  "jsdom": "^22.1.0",
33
33
  "luxon": "^2.4.0",
@@ -37,5 +37,5 @@
37
37
  "@types/jsdom": "^21.1.1",
38
38
  "@types/luxon": "^2.4.0"
39
39
  },
40
- "version": "0.0.223-dev241213043533"
40
+ "version": "0.0.223-dev241216182944"
41
41
  }
@@ -1312,13 +1312,16 @@ expressionModels.forEach((x, databaseName) => {
1312
1312
 
1313
1313
  describe('dialect functions', () => {
1314
1314
  describe('duckdb', () => {
1315
- const duckdb = it.when(databaseName === 'duckdb');
1316
- duckdb('to_timestamp', async () => {
1315
+ const isDuckdb = databaseName === 'duckdb';
1316
+ it.when(isDuckdb)('to_timestamp', async () => {
1317
1317
  await funcTest(
1318
1318
  'to_timestamp(1725555835) = @2024-09-05 17:03:55',
1319
1319
  booleanResult(true, databaseName)
1320
1320
  );
1321
1321
  });
1322
+ it.when(isDuckdb)('list_extract', async () => {
1323
+ await funcTest('list_extract(list_extract([[5]], 1), 1)', 5);
1324
+ });
1322
1325
  });
1323
1326
 
1324
1327
  describe('trino', () => {