Files
n8n-enterprise-unlocked/scripts/backend-module/my-feature.service.test.template
2025-07-18 14:34:48 +02:00

23 lines
449 B
Plaintext

import { testDb, testModules } from '@n8n/backend-test-utils';
import { MyFeatureService } from '../my-feature.service';
beforeAll(async () => {
await testModules.loadModules(['my-feature']);
await testDb.init();
});
beforeEach(async () => {
await testDb.truncate(['MyFeatureUnit']);
});
afterAll(async () => {
await testDb.terminate();
});
describe('start', () => {
it('should do something', () => {
expect(true).toBeTruthy();
});
});