From 13d1f3827751262f53dc8df6b44a55e637d62f5c Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Sun, 24 Dec 2023 12:05:59 +0530 Subject: [PATCH] ci: add logs to debug failing tests --- tests/lucid/preset.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/lucid/preset.spec.ts b/tests/lucid/preset.spec.ts index fb87311..22b7f21 100644 --- a/tests/lucid/preset.spec.ts +++ b/tests/lucid/preset.spec.ts @@ -25,6 +25,7 @@ test.group('Preset | Lucid', (group) => { const codemods = await createCodeMods(fs, logger, app) await presetLucid(codemods, app, { dialect: 'postgres', installPackages: false }) + console.log(await fs.contents('.env')) await assert.fileEquals( 'config/database.ts', @@ -80,6 +81,7 @@ test.group('Preset | Lucid', (group) => { const codemods = await createCodeMods(fs, logger, app) await presetLucid(codemods, app, { dialect: 'mysql', installPackages: false }) + console.log(await fs.contents('.env')) await assert.fileEquals( 'config/database.ts',