Skip to content

Commit

Permalink
Rename server.js to node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
akunzai committed Nov 9, 2023
1 parent 53fdcf9 commit 5b2feab
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jest.setup.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import '@testing-library/jest-dom';
import 'jest-preset-angular/setup-jest';
import { server } from './src/mocks/server';
import { server } from './src/mocks/node';

beforeAll(() => server.listen());
afterEach(() => server.resetHandlers());
Expand Down
2 changes: 1 addition & 1 deletion src/app/todo-list/todo-list.component.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
} from '@testing-library/angular';
import { http, HttpResponse } from 'msw';
import userEvent from '@testing-library/user-event';
import { server } from '../../mocks/server';
import { server } from '../../mocks/node';
import { Todo } from '../types';
import { TodoListComponent } from './todo-list.component';

Expand Down
2 changes: 1 addition & 1 deletion src/app/todo.service.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { HttpClientModule } from '@angular/common/http';
import { TestBed } from '@angular/core/testing';
import { http, HttpResponse } from 'msw';
import { server } from '../mocks/server';
import { server } from '../mocks/node';
import TodoService from './todo.service';
import { Todo } from './types';

Expand Down
File renamed without changes.

0 comments on commit 5b2feab

Please sign in to comment.