From 72c2b30ec887152413e53db805a3fe832c9e2fe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lenon?= Date: Mon, 26 Aug 2024 17:01:56 +0100 Subject: [PATCH] chore(npm): update dependencies --- package.json | 1 + tests/unit/commands/MakeTestCommandTest.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/package.json b/package.json index fbe141e..7307e6f 100644 --- a/package.json +++ b/package.json @@ -213,6 +213,7 @@ "test": "./templates/test.edge", "test-console": "./templates/test-console.edge", "test-http": "./templates/test-http.edge", + "test-cron": "./templates/test-cron.edge", "test-fn": "./templates/test-fn.edge", "command": "node_modules/@athenna/artisan/templates/command.edge", "controller": "node_modules/@athenna/http/templates/controller.edge", diff --git a/tests/unit/commands/MakeTestCommandTest.ts b/tests/unit/commands/MakeTestCommandTest.ts index 82a6ad6..75d0dd7 100644 --- a/tests/unit/commands/MakeTestCommandTest.ts +++ b/tests/unit/commands/MakeTestCommandTest.ts @@ -60,6 +60,8 @@ export default class MakeTestCommandTest extends BaseCommandTest { public async shouldBeAbleToCreateATestFileUsingCronTemplate({ assert, command }: Context) { const output = await command.run('make:test TestTest --cron') + console.log(output.output) + output.assertSucceeded() output.assertLogged('[ MAKING TEST ]') output.assertLogged('[ success ] Test "TestTest" successfully created.')