From 7921d548863f637b898dbc5d933eaabdf092ac0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=CC=81=20Moreira?= Date: Mon, 23 Oct 2023 18:37:36 +0100 Subject: [PATCH] chore: attempt to fix testing workflow .2 --- packages/cli/__tests__/fixtures/run-command.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/__tests__/fixtures/run-command.ts b/packages/cli/__tests__/fixtures/run-command.ts index 5b1f3e1..93e043e 100644 --- a/packages/cli/__tests__/fixtures/run-command.ts +++ b/packages/cli/__tests__/fixtures/run-command.ts @@ -10,7 +10,7 @@ export async function runCliCommand(cmdAndArgs: string) { '../../', // monorepo root '__tests__/test-data/ts-project/migrations', ); - const abmtCommand = `"${distBinPath}" --migrations-path="${migrationsPath}" --orm sequelize --sequelize-uri="sqlite::memory:"`; + const abmtCommand = `node --loader tsx "${distBinPath}" --migrations-path="${migrationsPath}" --orm sequelize --sequelize-uri="sqlite::memory:"`; const command = cmdAndArgs.replace('abmt', abmtCommand); return await new Promise<{