mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
update naming of classes and tests
This commit is contained in:
@@ -4,7 +4,7 @@ import { MergedResolvers } from "../../src/MergedResolvers";
|
||||
import { UnoptimizedInMemoryRepository } from "../../src/repositories/UnoptimizedInMemoryRepository";
|
||||
import { beforeEach } from "@jest/globals";
|
||||
import { ServerContext } from "../../src/ServerContext";
|
||||
import { NotificationService } from "../../src/services/NotificationService";
|
||||
import { ETANotificationScheduler } from "../../src/notifications/schedulers/ETANotificationScheduler";
|
||||
|
||||
|
||||
function setUpTestServer() {
|
||||
@@ -26,7 +26,7 @@ export function setupTestServerContext() {
|
||||
|
||||
beforeEach(() => {
|
||||
context.repository = new UnoptimizedInMemoryRepository();
|
||||
context.notificationService = new NotificationService(context.repository);
|
||||
context.notificationService = new ETANotificationScheduler(context.repository);
|
||||
});
|
||||
|
||||
return context as ServerContext;
|
||||
|
||||
Reference in New Issue
Block a user