-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade dependencies + downgrade to .net 6.x (#125)
- Loading branch information
Showing
16 changed files
with
2,801 additions
and
3,207 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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import type { Config } from '@jest/types'; | ||
|
||
const config: Config.InitialOptions = { | ||
projects: [ | ||
{ | ||
displayName: 'Backend Tests', | ||
preset: 'ts-jest', | ||
rootDir: '.', | ||
snapshotSerializers: ['<rootDir>/utils/jwt-serializer.js', '<rootDir>/utils/jwt-payload-serializer.js'], | ||
testMatch: ['<rootDir>/tests/**/*.spec.ts'], | ||
testPathIgnorePatterns: ['<rootDir>/node_modules/', '<rootDir>/dist/', '<rootDir>/tests/*.e2e-spec.ts'], | ||
testEnvironment: 'node', | ||
}, | ||
{ | ||
displayName: 'Frontend Tests', | ||
preset: 'jest-playwright-preset', | ||
rootDir: '.', | ||
snapshotSerializers: ['<rootDir>/utils/jwt-serializer.js', '<rootDir>/utils/jwt-payload-serializer.js'], | ||
testMatch: ['<rootDir>/tests/**/*.e2e-spec.ts'], | ||
testPathIgnorePatterns: ['<rootDir>/node_modules/', '<rootDir>/dist/'], | ||
transform: { | ||
'^.+\\.ts$': 'ts-jest', | ||
}, | ||
testEnvironment: 'node', | ||
}, | ||
], | ||
testTimeout: 60000, | ||
}; | ||
|
||
export default config; |
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 |
---|---|---|
|
@@ -36,7 +36,7 @@ exports[`Authorization Code Flow (with PKCE) - simple_user - Token Endpoint 1`] | |
`; | ||
|
||
exports[`Authorization Code Flow (with PKCE) - simple_user - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"sub": "simple_user", | ||
} | ||
`; | ||
|
@@ -81,7 +81,7 @@ exports[`Authorization Code Flow (with PKCE) - user_with_all_claim_types - Token | |
`; | ||
|
||
exports[`Authorization Code Flow (with PKCE) - user_with_all_claim_types - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"email": "[email protected]", | ||
"name": "Oliver Hunter", | ||
"some-custom-identity-user-claim": "Oliver's Custom User Claim", | ||
|
@@ -129,7 +129,7 @@ exports[`Authorization Code Flow (with PKCE) - user_with_custom_api_resource_cla | |
`; | ||
|
||
exports[`Authorization Code Flow (with PKCE) - user_with_custom_api_resource_claims - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"email": "[email protected]", | ||
"name": "Sam Tailor", | ||
"sub": "user_with_custom_api_resource_claims", | ||
|
@@ -172,7 +172,7 @@ exports[`Authorization Code Flow (with PKCE) - user_with_custom_identity_claims | |
`; | ||
|
||
exports[`Authorization Code Flow (with PKCE) - user_with_custom_identity_claims - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"email": "[email protected]", | ||
"name": "Jack Sparrow", | ||
"some-custom-identity-user-claim": "Jack's Custom User Claim", | ||
|
@@ -216,7 +216,7 @@ exports[`Authorization Code Flow (with PKCE) - user_with_standard_claims - Token | |
`; | ||
|
||
exports[`Authorization Code Flow (with PKCE) - user_with_standard_claims - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"email": "[email protected]", | ||
"email_verified": "true", | ||
"name": "John Smith", | ||
|
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 |
---|---|---|
|
@@ -36,7 +36,7 @@ exports[`Authorization Code Flow - simple_user - Token Endpoint 1`] = ` | |
`; | ||
|
||
exports[`Authorization Code Flow - simple_user - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"sub": "simple_user", | ||
} | ||
`; | ||
|
@@ -81,7 +81,7 @@ exports[`Authorization Code Flow - user_with_all_claim_types - Token Endpoint 1` | |
`; | ||
|
||
exports[`Authorization Code Flow - user_with_all_claim_types - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"email": "[email protected]", | ||
"name": "Oliver Hunter", | ||
"some-custom-identity-user-claim": "Oliver's Custom User Claim", | ||
|
@@ -129,7 +129,7 @@ exports[`Authorization Code Flow - user_with_custom_api_resource_claims - Token | |
`; | ||
|
||
exports[`Authorization Code Flow - user_with_custom_api_resource_claims - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"email": "[email protected]", | ||
"name": "Sam Tailor", | ||
"sub": "user_with_custom_api_resource_claims", | ||
|
@@ -172,7 +172,7 @@ exports[`Authorization Code Flow - user_with_custom_identity_claims - Token Endp | |
`; | ||
|
||
exports[`Authorization Code Flow - user_with_custom_identity_claims - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"email": "[email protected]", | ||
"name": "Jack Sparrow", | ||
"some-custom-identity-user-claim": "Jack's Custom User Claim", | ||
|
@@ -216,7 +216,7 @@ exports[`Authorization Code Flow - user_with_standard_claims - Token Endpoint 1` | |
`; | ||
|
||
exports[`Authorization Code Flow - user_with_standard_claims - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"email": "[email protected]", | ||
"email_verified": "true", | ||
"name": "John Smith", | ||
|
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 |
---|---|---|
|
@@ -51,7 +51,7 @@ exports[`Implicit Flow - simple_user - Introspection Endpoint 1`] = ` | |
`; | ||
|
||
exports[`Implicit Flow - simple_user - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"sub": "simple_user", | ||
} | ||
`; | ||
|
@@ -114,7 +114,7 @@ exports[`Implicit Flow - user_with_all_claim_types - Introspection Endpoint 1`] | |
`; | ||
|
||
exports[`Implicit Flow - user_with_all_claim_types - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"email": "[email protected]", | ||
"name": "Oliver Hunter", | ||
"some-custom-identity-user-claim": "Oliver's Custom User Claim", | ||
|
@@ -179,7 +179,7 @@ exports[`Implicit Flow - user_with_custom_api_resource_claims - Introspection En | |
`; | ||
|
||
exports[`Implicit Flow - user_with_custom_api_resource_claims - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"email": "[email protected]", | ||
"name": "Sam Tailor", | ||
"sub": "user_with_custom_api_resource_claims", | ||
|
@@ -240,7 +240,7 @@ exports[`Implicit Flow - user_with_custom_identity_claims - Introspection Endpoi | |
`; | ||
|
||
exports[`Implicit Flow - user_with_custom_identity_claims - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"email": "[email protected]", | ||
"name": "Jack Sparrow", | ||
"some-custom-identity-user-claim": "Jack's Custom User Claim", | ||
|
@@ -302,7 +302,7 @@ exports[`Implicit Flow - user_with_standard_claims - Introspection Endpoint 1`] | |
`; | ||
|
||
exports[`Implicit Flow - user_with_standard_claims - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"email": "[email protected]", | ||
"email_verified": "true", | ||
"name": "John Smith", | ||
|
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 |
---|---|---|
|
@@ -36,7 +36,7 @@ exports[`Password Flow - simple_user - Token Endpoint 1`] = ` | |
`; | ||
|
||
exports[`Password Flow - simple_user - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"sub": "simple_user", | ||
} | ||
`; | ||
|
@@ -81,7 +81,7 @@ exports[`Password Flow - user_with_all_claim_types - Token Endpoint 1`] = ` | |
`; | ||
|
||
exports[`Password Flow - user_with_all_claim_types - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"email": "[email protected]", | ||
"name": "Oliver Hunter", | ||
"some-custom-identity-user-claim": "Oliver's Custom User Claim", | ||
|
@@ -129,7 +129,7 @@ exports[`Password Flow - user_with_custom_api_resource_claims - Token Endpoint 1 | |
`; | ||
|
||
exports[`Password Flow - user_with_custom_api_resource_claims - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"email": "[email protected]", | ||
"name": "Sam Tailor", | ||
"sub": "user_with_custom_api_resource_claims", | ||
|
@@ -172,7 +172,7 @@ exports[`Password Flow - user_with_custom_identity_claims - Token Endpoint 1`] = | |
`; | ||
|
||
exports[`Password Flow - user_with_custom_identity_claims - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"email": "[email protected]", | ||
"name": "Jack Sparrow", | ||
"some-custom-identity-user-claim": "Jack's Custom User Claim", | ||
|
@@ -216,7 +216,7 @@ exports[`Password Flow - user_with_standard_claims - Token Endpoint 1`] = ` | |
`; | ||
|
||
exports[`Password Flow - user_with_standard_claims - UserInfo Endpoint 1`] = ` | ||
Object { | ||
{ | ||
"email": "[email protected]", | ||
"email_verified": "true", | ||
"name": "John Smith", | ||
|
Oops, something went wrong.