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",
|
"reviveName": "Another",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
flags={Object {}}
|
||||||
hasAccess={[Function]}
|
hasAccess={[Function]}
|
||||||
settings={
|
settings={
|
||||||
Object {
|
Object {
|
||||||
@ -383,6 +384,7 @@ exports[`renders correctly with one feature without permissions 1`] = `
|
|||||||
"reviveName": "Another",
|
"reviveName": "Another",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
flags={Object {}}
|
||||||
hasAccess={[Function]}
|
hasAccess={[Function]}
|
||||||
settings={
|
settings={
|
||||||
Object {
|
Object {
|
||||||
|
@ -42,6 +42,7 @@ test('renders correctly with one feature', () => {
|
|||||||
toggleFeature={jest.fn()}
|
toggleFeature={jest.fn()}
|
||||||
fetcher={jest.fn()}
|
fetcher={jest.fn()}
|
||||||
currentProjectId="default"
|
currentProjectId="default"
|
||||||
|
flags={{}}
|
||||||
/>
|
/>
|
||||||
</AccessProvider>
|
</AccessProvider>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
@ -74,6 +75,7 @@ test('renders correctly with one feature without permissions', () => {
|
|||||||
toggleFeature={jest.fn()}
|
toggleFeature={jest.fn()}
|
||||||
fetcher={jest.fn()}
|
fetcher={jest.fn()}
|
||||||
currentProjectId="default"
|
currentProjectId="default"
|
||||||
|
flags={{}}
|
||||||
/>
|
/>
|
||||||
</AccessProvider>
|
</AccessProvider>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
|
Loading…
Reference in New Issue
Block a user