diff --git a/toolbox/mdcode/tests/tool/two_phase/deploy.test.ts b/toolbox/mdcode/tests/tool/two_phase/deploy.test.ts index 267fe2d7..689c11a5 100644 --- a/toolbox/mdcode/tests/tool/two_phase/deploy.test.ts +++ b/toolbox/mdcode/tests/tool/two_phase/deploy.test.ts @@ -404,7 +404,8 @@ scenarios('how push deploys each deployment in order, and what it prints', [ check: r => { for (const models of [...r.fake.bq.mock.calls.map(c => c[0]), r.fake.preflight.mock.calls[0][0]]) { - expect(models[0].model.metrics?.[0]?.expression).toBeDefined(); + expect(models[0].model.metrics![0].dialects) + .toContainEqual(expect.objectContaining({dialect: 'BIGQUERY'})); } }, },