-
-
Notifications
You must be signed in to change notification settings - Fork 730
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Anonimize demo users list flag view (#7432)
- Loading branch information
Showing
8 changed files
with
64 additions
and
18 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 |
---|---|---|
|
@@ -22,6 +22,7 @@ beforeAll(async () => { | |
flags: { | ||
strictSchemaValidation: true, | ||
featureLifecycle: true, | ||
anonymiseEventLog: true, | ||
}, | ||
}, | ||
}, | ||
|
@@ -186,7 +187,7 @@ test('should search matching features by name', async () => { | |
name: 'my_feature_a', | ||
createdBy: { | ||
id: 1, | ||
name: '[email protected]', | ||
name: '[email protected]', | ||
imageUrl: | ||
'https://gravatar.com/avatar/3957b71c0a6d2528f03b423f432ed2efe855d263400f960248a1080493d9d68a?s=42&d=retro&r=g', | ||
}, | ||
|
@@ -195,7 +196,7 @@ test('should search matching features by name', async () => { | |
name: 'my_feature_b', | ||
createdBy: { | ||
id: 1, | ||
name: '[email protected]', | ||
name: '[email protected]', | ||
imageUrl: | ||
'https://gravatar.com/avatar/3957b71c0a6d2528f03b423f432ed2efe855d263400f960248a1080493d9d68a?s=42&d=retro&r=g', | ||
}, | ||
|
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 |
---|---|---|
|
@@ -18,7 +18,14 @@ let db: ITestDb; | |
|
||
beforeAll(async () => { | ||
db = await dbInit('feature_strategy_auth_api_serial', getLogger); | ||
app = await setupAppWithAuth(db.stores); | ||
app = await setupAppWithAuth(db.stores, { | ||
experimental: { | ||
flags: { | ||
strictSchemaValidation: true, | ||
anonymiseEventLog: true, | ||
}, | ||
}, | ||
}); | ||
}); | ||
|
||
afterEach(async () => { | ||
|
@@ -161,7 +168,7 @@ test('Should read flag creator', async () => { | |
|
||
expect(feature.createdBy).toEqual({ | ||
id: user.id, | ||
name: '[email protected]', | ||
name: '[email protected]', | ||
imageUrl: | ||
'https://gravatar.com/avatar/3957b71c0a6d2528f03b423f432ed2efe855d263400f960248a1080493d9d68a?s=42&d=retro&r=g', | ||
}); | ||
|
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