5e1dec842a
* chore: misplaced test file * refactor: rename, async main * refactor: fix types * chore: type args * refactor: extract package root invariant * refactor: error behaviour on limit exceeded * test: more precise error cov * refactor: extract logging * refactor: logger * test: index fix * refactor: move mocking downstream
11 lines
256 B
TypeScript
11 lines
256 B
TypeScript
export default {
|
|
log: (...args: unknown[]): void => {
|
|
console.log(...args)
|
|
},
|
|
warn: (...args: unknown[]): void => {
|
|
console.warn(...args)
|
|
},
|
|
error: (...args: unknown[]): void => {
|
|
console.error(...args)
|
|
},
|
|
}
|