chore: Add empty lines for flow test to improve readability
This commit is contained in:
@@ -80,10 +80,13 @@ describe('Flow model', () => {
|
|||||||
|
|
||||||
it('triggerStep should return the trigger step', () => {
|
it('triggerStep should return the trigger step', () => {
|
||||||
const relations = Flow.relationMappings();
|
const relations = Flow.relationMappings();
|
||||||
|
|
||||||
const firstSpy = vi.fn();
|
const firstSpy = vi.fn();
|
||||||
|
|
||||||
const limitSpy = vi.fn().mockImplementation(() => ({
|
const limitSpy = vi.fn().mockImplementation(() => ({
|
||||||
first: firstSpy,
|
first: firstSpy,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const whereSpy = vi.fn().mockImplementation(() => ({
|
const whereSpy = vi.fn().mockImplementation(() => ({
|
||||||
limit: limitSpy,
|
limit: limitSpy,
|
||||||
}));
|
}));
|
||||||
@@ -97,10 +100,13 @@ describe('Flow model', () => {
|
|||||||
|
|
||||||
it('lastExecution should return the last execution', () => {
|
it('lastExecution should return the last execution', () => {
|
||||||
const relations = Flow.relationMappings();
|
const relations = Flow.relationMappings();
|
||||||
|
|
||||||
const firstSpy = vi.fn();
|
const firstSpy = vi.fn();
|
||||||
|
|
||||||
const limitSpy = vi.fn().mockImplementation(() => ({
|
const limitSpy = vi.fn().mockImplementation(() => ({
|
||||||
first: firstSpy,
|
first: firstSpy,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const orderBySpy = vi.fn().mockImplementation(() => ({
|
const orderBySpy = vi.fn().mockImplementation(() => ({
|
||||||
limit: limitSpy,
|
limit: limitSpy,
|
||||||
}));
|
}));
|
||||||
|
Reference in New Issue
Block a user