mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 08:18:10 -05:00
Selecting theme variable variant helper function
This commit is contained in:
@@ -15,7 +15,7 @@ const themeMock = {
|
||||
};
|
||||
|
||||
describe('Variables retrieval', () => {
|
||||
const restoreTheme = mockTheme(themeMock);
|
||||
const restoreTheme = mockTheme(() => themeMock);
|
||||
|
||||
afterAll(() => {
|
||||
restoreTheme();
|
||||
|
||||
Reference in New Issue
Block a user