Skip to content

Commit

Permalink
fix(templates): file name and location consistancy
Browse files Browse the repository at this point in the history
  • Loading branch information
harm-meijer committed Sep 17, 2024
1 parent f20a9d1 commit f99c64b
Show file tree
Hide file tree
Showing 5 changed files with 6,532 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { expect } from '@jest/globals';
import request from 'supertest';
import app from '../src/app';
import * as enventController from '../src/controllers/event.controller';
import { readConfiguration } from '../src/utils/config.utils';
import app from '../../src/app';
import * as enventController from '../../src/controllers/event.controller';
import { readConfiguration } from '../../src/utils/config.utils';

jest.mock('../src/utils/config.utils');
jest.mock('../../src/utils/config.utils');
describe('Testing router', () => {
beforeEach(() => {
(readConfiguration as jest.Mock).mockClear();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { expect } from '@jest/globals';
import request from 'supertest';
import app from '../src/app';
import * as jobController from '../src/controllers/job.controller';
import { readConfiguration } from '../src/utils/config.utils';
import app from '../../src/app';
import * as jobController from '../../src/controllers/job.controller';
import { readConfiguration } from '../../src/utils/config.utils';

jest.mock('../src/utils/config.utils');
jest.mock('../../src/utils/config.utils');
describe('Testing router', () => {
beforeEach(() => {
(readConfiguration as jest.Mock).mockClear();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { expect } from '@jest/globals';
import request from 'supertest';
import app from '../src/app';
import * as serviceController from '../src/controllers/service.controller';
import { readConfiguration } from '../src/utils/config.utils';
import app from '../../src/app';
import * as serviceController from '../../src/controllers/service.controller';
import { readConfiguration } from '../../src/utils/config.utils';

jest.mock('../src/utils/config.utils');
jest.mock('../../src/utils/config.utils');
describe('Testing router', () => {
beforeEach(() => {
(readConfiguration as jest.Mock).mockClear();
Expand Down
Loading

0 comments on commit f99c64b

Please sign in to comment.