mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-20 22:52:46 -05:00
a7ba76423e
* test: add test for whoami * Update middleware.ts * test for user api * more test for user api * remove repeated code * refactor * Update index.spec.ts * add package test refactor others * chore: upgrade deps * chore: add test for package * chore: update test * update lock file * Update ci.yml * Update ci.yml * Update package.spec.ts * chore: update ci settings * chore: update deps * chore: update test
19 lines
361 B
JavaScript
19 lines
361 B
JavaScript
const setup = jest.fn();
|
|
const logger = {
|
|
child: jest.fn(() => ({
|
|
debug: jest.fn(),
|
|
trace: jest.fn(),
|
|
warn: jest.fn(),
|
|
info: jest.fn(),
|
|
error: jest.fn(),
|
|
fatal: jest.fn(),
|
|
})),
|
|
debug: jest.fn(),
|
|
trace: jest.fn(),
|
|
warn: jest.fn(),
|
|
info: jest.fn(),
|
|
error: jest.fn(),
|
|
fatal: jest.fn(),
|
|
};
|
|
|
|
export { setup, logger }
|