File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
site/src/pages/WorkspacePage Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import {
10
10
MockUser ,
11
11
MockWorkspace ,
12
12
} from "testHelpers/entities" ;
13
- import { withDashboardProvider } from "testHelpers/storybook" ;
13
+ import { withAuthProvider , withDashboardProvider } from "testHelpers/storybook" ;
14
14
import { WorkspaceTopbar } from "./WorkspaceTopbar" ;
15
15
16
16
// We want a workspace without a deadline to not pollute the screenshot. Also
@@ -28,7 +28,7 @@ const baseWorkspace: Workspace = {
28
28
const meta : Meta < typeof WorkspaceTopbar > = {
29
29
title : "pages/WorkspacePage/WorkspaceTopbar" ,
30
30
component : WorkspaceTopbar ,
31
- decorators : [ withDashboardProvider ] ,
31
+ decorators : [ withAuthProvider , withDashboardProvider ] ,
32
32
args : {
33
33
workspace : baseWorkspace ,
34
34
template : MockTemplate ,
@@ -41,6 +41,7 @@ const meta: Meta<typeof WorkspaceTopbar> = {
41
41
chromatic : {
42
42
diffThreshold : 0.6 ,
43
43
} ,
44
+ user : MockUser ,
44
45
} ,
45
46
} ;
46
47
You can’t perform that action at this time.
0 commit comments