-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AKR:OTR:VKT:YKI:SHARED(Frontend) OPHAKRKEH-515 frontin versiopäivityk…
…siä (#600) * AKR:OTR:VKT:YKI:SHARED(Frontend) OPHAKRKEH-515 version bumps * AKR:OTR:VKT:YKI:SHARED(Frontend) OPHAKRKEH-515 fix external repo protocol * AKR:OTR:VKT:YKI:SHARED(Frontend) OPHAKRKEH-515 version bumps * AKR:OTR:VKT:YKI:SHARED(Frontend) OPHAKRKEH-515 version bump fixes * AKR:OTR:VKT:YKI:SHARED(Frontend) OPHAKRKEH-515 bump node version * AKR:OTR:VKT:YKI:SHARED(Frontend) OPHAKRKEH-515 version bump fixes * AKR:OTR:VKT:YKI:SHARED(Frontend) OPHAKRKEH-515 jest migration test fixes * AKR:OTR:VKT:YKI:SHARED(Frontend) OPHAKRKEH-515 jest migration test fixes * AKR:OTR:VKT:YKI:SHARED(Frontend) OPHAKRKEH-515 jest migration test fixes * AKR:OTR:VKT:YKI:SHARED(Frontend) bump node versions * AKR:OTR:VKT:YKI:SHARED(Frontend) router fixes * AKR:OTR:VKT:YKI:SHARED(Frontend) skip some cypress tests for now * AKR:OTR:VKT:YKI:SHARED(Frontend) linter fixes * AKR:OTR:VKT:YKI:SHARED(Frontend) jest snapshot updates and skip one test for now * AKR:OTR:VKT:YKI:SHARED(Frontend) for some reason local jest test renders invalid dates * AKR:OTR:VKT:YKI:SHARED(Frontend) fix error toast. Also revert date picker back to 5.x * SHARED(Frontend) update shared jest snapshot * VKT:YKI(Frontend) Review fixes * VKT(Frontend) Review fixes * SHARED(Frontend) Review fixes, attempt to fix ScrollToTop * YKI(Frontend): Fix test setup: need to use createBrowserRouter(..) with DefaultProviders * OTR(Frontend): Fix and enable failing test. The old selector didn't for some reason want to find the correct element to type into. We "fix" this by instead using a role query, which is more in line with the testing library matching philosophy. * AKR:OTR:VKT:YKI:SHARED(Frontend) useBlocker fixes * SHARED(Frontend) removed unused import --------- Co-authored-by: Pyry Koivisto <[email protected]>
- Loading branch information
Showing
365 changed files
with
7,901 additions
and
8,278 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [16.16.0] | ||
node-version: [20.9.0] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: szenius/[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 |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [16.16.0] | ||
node-version: [20.9.0] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: szenius/[email protected] | ||
|
541 changes: 0 additions & 541 deletions
541
frontend/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// test.environment.js | ||
|
||
const JSDOMEnvironment = require("jest-environment-jsdom").default; | ||
|
||
module.exports = class CustomTestEnvironment extends JSDOMEnvironment { | ||
async setup() { | ||
await super.setup(); | ||
this.global.TextEncoder = TextEncoder; | ||
this.global.TextDecoder = TextDecoder; | ||
this.global.Response = Response; | ||
this.global.Request = Request; | ||
} | ||
}; |
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 |
---|---|---|
|
@@ -22,6 +22,6 @@ | |
"akr:tslint": "yarn g:tsc --pretty --noEmit" | ||
}, | ||
"dependencies": { | ||
"shared": "npm:@opetushallitus/[email protected].2" | ||
"shared": "npm:@opetushallitus/[email protected].3" | ||
} | ||
} |
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
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
Oops, something went wrong.