-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## What does this PR do? - Follow on from #78 - Removes all `implicitAny`s apart from those in `src/export/digitalPlanning/model.ts` ### Next steps - Write `Passport.get()` method to replace the placeholder `Passport.generic()` (see #78 (comment)) - Test TS compilation on Pizza - Rebase / merge / cherry-pick #68 to move things forward there
- Loading branch information
1 parent
3d8465f
commit 69c797c
Showing
7 changed files
with
60 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,8 +70,10 @@ describe("ContactInput details are set correctly based on the breadcrumbs", () = | |
(detail) => detail.question === "Your contact details", | ||
)?.[0]; | ||
|
||
expect(contactInputItem?.responses[0]?.["value"]).toEqual( | ||
"Ms Jane Doe Open Systems Lab 0123456789 [email protected]", | ||
expect(contactInputItem?.responses[0]).toEqual( | ||
expect.objectContaining({ | ||
value: "Ms Jane Doe Open Systems Lab 0123456789 [email protected]", | ||
}), | ||
); | ||
}); | ||
|
||
|
@@ -104,8 +106,10 @@ describe("ContactInput details are set correctly based on the breadcrumbs", () = | |
(detail) => detail.question === "Your contact details", | ||
)?.[0]; | ||
|
||
expect(contactInputItem?.responses[0]?.["value"]).toEqual( | ||
"Jane Doe 0123456789 [email protected]", | ||
expect(contactInputItem?.responses[0]).toEqual( | ||
expect.objectContaining({ | ||
value: "Jane Doe 0123456789 [email protected]", | ||
}), | ||
); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"compilerOptions": { | ||
"allowJs": true, | ||
"esModuleInterop": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"lib": ["DOM", "ESNext"], | ||
"target": "es2022", | ||
"module": "commonjs", | ||
"moduleResolution": "node", | ||
"noImplicitAny": false, | ||
"resolveJsonModule": true, | ||
"skipLibCheck": true, | ||
"jsx": "react", | ||
"strict": true, | ||
"rootDir": "./src", | ||
"declaration": true, | ||
"outDir": "dist" | ||
}, | ||
"include": ["./src/*", "./src/**/*"], | ||
"exclude": ["./src/**/*.test.ts", "./src/**/mocks"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,5 +17,4 @@ | |
"outDir": "dist" | ||
}, | ||
"include": ["./src/*", "./src/**/*"], | ||
"exclude": ["./src/**/*.test.ts", "./src/**/mocks"] | ||
} |