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:
parent
73861b0f2e
commit
03230fcff9
@ -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 {
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user