All files / api/__stubs__ testValues.ts

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 183x   3x   3x                          
export const baseUrl = 'https://example.com';
 
export const mockTime = 1631234567890;
 
export const mockParams = {
  baseUrl,
  prompt: 'test prompt',
  model: 'test-model',
  rules: [
    { id: '1', name: 'rule1', content: 'rule1 content', selected: true },
    { id: '2', name: 'rule2', content: 'rule2 content', selected: false },
  ],
  onLoading: jest.fn(),
  onStartStreaming: jest.fn(),
  onFinishStreaming: jest.fn(),
  onUpdateOutput: jest.fn(),
};