Closed thgreasi closed 1 month ago
This allows consumers to enable debug mode only for a single test case, reducing the amount of noise in their logs.
This allows consumers to for example print the SQL run during a specific test case, by doing
it('tests something', function () { const { env: { TEST_MOCK_ONLY } } = await import('@balena/pinejs'); TEST_MOCK_ONLY.DEBUG = true; // ... tests here TEST_MOCK_ONLY.DEBUG = false; });
Change-type: minor
This allows consumers to enable debug mode only for a single test case, reducing the amount of noise in their logs.
This allows consumers to for example print the SQL run during a specific test case, by doing
Change-type: minor