Adjust tests
Some checks failed
Testing / run-tests (push) Failing after 17s

This commit is contained in:
Fred Boniface 2025-09-08 20:33:51 +01:00
parent 9b3f42175d
commit 987ea74375

View File

@ -119,7 +119,9 @@ describe("STANOX Validation Tests", () => {
expect(() => validateStanox(false)).toThrow(ValidationError);
expect(() => validateStanox("3543ab")).toThrow(ValidationError);
})
})
describe("Station Validation Tests", () => {
test("Station inputs that should pass validation", () => {
expect(validateStation("Heathrow Terminal 5")).toBe(true);
expect(validateStation("King's Cross")).toBe(true);