mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00

The previous package was outdated, preventing us from updating TS. This one also lints YAML and JSON, and applies many more rules to the test files, explaining all the changes in this PR.
13 lines
324 B
TypeScript
13 lines
324 B
TypeScript
import { VoidLogger } from '../../../src/logging/VoidLogger';
|
|
|
|
describe('VoidLogger', (): void => {
|
|
let logger: VoidLogger;
|
|
beforeEach(async(): Promise<void> => {
|
|
logger = new VoidLogger();
|
|
});
|
|
|
|
it('does nothing when log is invoked.', async(): Promise<void> => {
|
|
expect(logger.log()).toBe(logger);
|
|
});
|
|
});
|