Commit 3e2ee89
authored
Remove unused mock contracts from SafeToL2Migration tests (#837)
This pull request focuses on cleaning up the `SafeToL2Migration.spec.ts`
test file by removing unused imports and redundant mock setup code.
These changes streamline the test setup and improve code readability.
Code cleanup and simplification:
* Removed the unused `getMock` import from
`test/libraries/SafeToL2Migration.spec.ts`.
* Deleted the setup and usage of `validGuardMock` and `invalidGuardMock`
in the `SafeToL2Migration` library tests, as they were not used in the
actual tests.
[[1]](diffhunk://#diff-75100fb7649ea61385b33880528c60fc7ed991face5d9285fa01ebaeb4616221L79-L86)
[[2]](diffhunk://#diff-75100fb7649ea61385b33880528c60fc7ed991face5d9285fa01ebaeb4616221L116-L117)1 parent 0796a37 commit 3e2ee89
1 file changed
+1
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 79 | | |
88 | 80 | | |
89 | 81 | | |
| |||
113 | 105 | | |
114 | 106 | | |
115 | 107 | | |
116 | | - | |
117 | | - | |
118 | 108 | | |
119 | 109 | | |
120 | 110 | | |
| |||
0 commit comments