update minio coverage cronjob
Backend SonarQube Check testing / sonar-check (push) Has been cancelled
Details
Backend SonarQube Check testing / sonar-check (push) Has been cancelled
Details
This commit is contained in:
parent
f7ba7f5de6
commit
7f4350fba8
|
|
@ -1,4 +1,9 @@
|
||||||
// ================= MOCK GLOBAL =================
|
jest.mock('node-cron', () => ({
|
||||||
|
schedule: jest.fn(() => ({
|
||||||
|
start: jest.fn(),
|
||||||
|
stop: jest.fn(),
|
||||||
|
})),
|
||||||
|
}));
|
||||||
|
|
||||||
// MOCK PREFIX (ESM)
|
// MOCK PREFIX (ESM)
|
||||||
jest.mock('../app/static/prefix.js', () => ({
|
jest.mock('../app/static/prefix.js', () => ({
|
||||||
|
|
@ -26,7 +31,6 @@ jest.mock('@prisma/client', () => {
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
// ================= TEST =================
|
|
||||||
test('load backend without crashing', () => {
|
test('load backend without crashing', () => {
|
||||||
require('../index');
|
require('../index');
|
||||||
expect(true).toBe(true);
|
expect(true).toBe(true);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue