finished logger tests
This commit is contained in:
parent
68592619f9
commit
d0bc9cf32f
10 changed files with 1178 additions and 16 deletions
|
|
@ -1,14 +0,0 @@
|
|||
import { test, expect } from 'bun:test';
|
||||
|
||||
test('check NODE_ENV', () => {
|
||||
expect(process.env.NODE_ENV).toBeDefined();
|
||||
console.log('NODE_ENV:', process.env.NODE_ENV);
|
||||
});
|
||||
|
||||
test('check getEnvironment function', async () => {
|
||||
const { getEnvironment, Environment } = await import('../src/core');
|
||||
const currentEnv = getEnvironment();
|
||||
console.log('getEnvironment() returns:', currentEnv);
|
||||
console.log('Environment.Testing value:', Environment.Testing);
|
||||
expect(currentEnv).toBe(Environment.Testing);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue