1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00

fix: failing unit tests

This commit is contained in:
Ivar Conradi Østhus 2021-10-20 13:19:54 +02:00
parent 73861b0f2e
commit 03230fcff9
2 changed files with 4 additions and 0 deletions

View File

@ -183,6 +183,7 @@ exports[`renders correctly with one feature 1`] = `
"reviveName": "Another",
}
}
flags={Object {}}
hasAccess={[Function]}
settings={
Object {
@ -383,6 +384,7 @@ exports[`renders correctly with one feature without permissions 1`] = `
"reviveName": "Another",
}
}
flags={Object {}}
hasAccess={[Function]}
settings={
Object {

View File

@ -42,6 +42,7 @@ test('renders correctly with one feature', () => {
toggleFeature={jest.fn()}
fetcher={jest.fn()}
currentProjectId="default"
flags={{}}
/>
</AccessProvider>
</ThemeProvider>
@ -74,6 +75,7 @@ test('renders correctly with one feature without permissions', () => {
toggleFeature={jest.fn()}
fetcher={jest.fn()}
currentProjectId="default"
flags={{}}
/>
</AccessProvider>
</ThemeProvider>