diff --git a/test/unit/.mocharc.json b/test/unit/.mocharc.json index a8c47e4..f526c27 100644 --- a/test/unit/.mocharc.json +++ b/test/unit/.mocharc.json @@ -1,7 +1,7 @@ { "extension": ["ts"], "require": [ - "ts-node/register", + "ts-node/register/transpile-only", "test/unit/hooks.ts" ] } diff --git a/test/unit/hooks.ts b/test/unit/hooks.ts index 5d31e6c..24905a3 100644 --- a/test/unit/hooks.ts +++ b/test/unit/hooks.ts @@ -13,7 +13,7 @@ import { PaperspaceClient, PaperspaceMachine } from '../../src/providers/papersp export const mochaHooks = { async beforeAll() { - console.info("Calling before hook") + console.info("Before hook: stub all side effects for unit tests") // // Stub side effects