@malloydata/malloy-tests 0.0.248-dev250325235002 → 0.0.248-dev250326010711

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,14 +21,14 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@jest/globals": "^29.4.3",
24
- "@malloydata/db-bigquery": "^0.0.248-dev250325235002",
25
- "@malloydata/db-duckdb": "^0.0.248-dev250325235002",
26
- "@malloydata/db-postgres": "^0.0.248-dev250325235002",
27
- "@malloydata/db-snowflake": "^0.0.248-dev250325235002",
28
- "@malloydata/db-trino": "^0.0.248-dev250325235002",
29
- "@malloydata/malloy": "^0.0.248-dev250325235002",
30
- "@malloydata/malloy-tag": "^0.0.248-dev250325235002",
31
- "@malloydata/render": "^0.0.248-dev250325235002",
24
+ "@malloydata/db-bigquery": "^0.0.248-dev250326010711",
25
+ "@malloydata/db-duckdb": "^0.0.248-dev250326010711",
26
+ "@malloydata/db-postgres": "^0.0.248-dev250326010711",
27
+ "@malloydata/db-snowflake": "^0.0.248-dev250326010711",
28
+ "@malloydata/db-trino": "^0.0.248-dev250326010711",
29
+ "@malloydata/malloy": "^0.0.248-dev250326010711",
30
+ "@malloydata/malloy-tag": "^0.0.248-dev250326010711",
31
+ "@malloydata/render": "^0.0.248-dev250326010711",
32
32
  "events": "^3.3.0",
33
33
  "jsdom": "^22.1.0",
34
34
  "luxon": "^2.4.0",
@@ -38,5 +38,5 @@
38
38
  "@types/jsdom": "^21.1.1",
39
39
  "@types/luxon": "^2.4.0"
40
40
  },
41
- "version": "0.0.248-dev250325235002"
41
+ "version": "0.0.248-dev250326010711"
42
42
  }
@@ -41,7 +41,7 @@ describe.each(runtimes.runtimeList)('filter expressions %s', (dbName, db) => {
41
41
  select: s
42
42
  }`).malloyResultMatches(abc, [{s: 'abc'}]);
43
43
  });
44
- test.skip('empty string filter expression', async () => {
44
+ test('empty string filter expression', async () => {
45
45
  /*
46
46
  since the sql generated works when pasted into mysql
47
47
  my next suggestion is that there is some funky re-ordering
@@ -194,7 +194,7 @@ describe.each(runtimes.runtimeList)('filter expressions %s', (dbName, db) => {
194
194
  UNION ALL SELECT NULL, 'null'
195
195
  """)
196
196
  `);
197
- test.skip('empty numeric filter', async () => {
197
+ test('empty numeric filter', async () => {
198
198
  await expect(`
199
199
  run: nums -> {
200
200
  where: n ~ f''
@@ -359,17 +359,17 @@ describe.each(runtimes.runtimeList)('filter expressions %s', (dbName, db) => {
359
359
  select: t; order_by: t asc
360
360
  }`).malloyResultMatches(facts, [{t: 'false'}, {t: 'true'}]);
361
361
  });
362
- // test.when(testBoolean)('empty boolean filter', async () => {
363
- // await expect(`
364
- // run: facts -> {
365
- // where: b ~ f''
366
- // select: t; order_by: t asc
367
- // }`).malloyResultMatches(facts, [
368
- // {t: 'false'},
369
- // {t: 'null'},
370
- // {t: 'true'},
371
- // ]);
372
- // });
362
+ test.when(testBoolean)('empty boolean filter', async () => {
363
+ await expect(`
364
+ run: facts -> {
365
+ where: b ~ f''
366
+ select: t; order_by: t asc
367
+ }`).malloyResultMatches(facts, [
368
+ {t: 'false'},
369
+ {t: 'null'},
370
+ {t: 'true'},
371
+ ]);
372
+ });
373
373
  });
374
374
 
375
375
  type TL = 'timeLiteral';
@@ -579,7 +579,7 @@ describe.each(runtimes.runtimeList)('filter expressions %s', (dbName, db) => {
579
579
  {n: 'post-range'},
580
580
  ]);
581
581
  });
582
- test.skip('empty temporal filter', async () => {
582
+ test('empty temporal filter', async () => {
583
583
  const range = mkRange('2001-01-01 00:00:00', '2002-01-01 00:00:00');
584
584
  await expect(`
585
585
  # test.verbose