Skip to content

Commit

Permalink
cant-fix-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoulder4 committed Aug 27, 2023
1 parent 2d9d3df commit 859a6c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
testEnvironment: "node",
transformIgnorePatterns: ["<rootDir>/node_modules/"],
testTimeout: 20000,
};
5 changes: 1 addition & 4 deletions tests/trackTrain.test.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -20,8 +19,6 @@ import {
variables,
locationListExists,
destinationReached,
getCurrentState,
getCallingPoints,
} from "../src/trackTrain";
import {
getInfo,
Expand Down

0 comments on commit 859a6c0

Please sign in to comment.