From 859a6c0678bc34a2e1d0bf39321d646174aa344e Mon Sep 17 00:00:00 2001 From: tgoulder4 <118992509+tgoulder4@users.noreply.github.com> Date: Sun, 27 Aug 2023 19:17:35 +0100 Subject: [PATCH] cant-fix-tests --- jest.config.js | 1 + tests/trackTrain.test.ts | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/jest.config.js b/jest.config.js index 156cf96..9337817 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,4 +1,5 @@ module.exports = { testEnvironment: "node", transformIgnorePatterns: ["/node_modules/"], + testTimeout: 20000, }; diff --git a/tests/trackTrain.test.ts b/tests/trackTrain.test.ts index 4dbbb59..8009638 100644 --- a/tests/trackTrain.test.ts +++ b/tests/trackTrain.test.ts @@ -1,10 +1,9 @@ -import { expect, describe, test, it } from "@jest/globals"; +import { expect, test } from "@jest/globals"; import cheerio from "cheerio"; //-----------------MOCKS----------------- import { serviceCancelled, departedStoppingStation, - passUnknownDelay, passedPassStation, reachedDestination, arriving, @@ -20,8 +19,6 @@ import { variables, locationListExists, destinationReached, - getCurrentState, - getCallingPoints, } from "../src/trackTrain"; import { getInfo,