File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
apps/web/src/services/user Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -85,12 +85,13 @@ describe('setupService', () => {
85
85
expect ( createdProviderApiKey ?. authorId ) . toBe ( user . id )
86
86
87
87
// Check onboarding creation
88
- // TODO(onboarding): change this once we have a new onboarding and we remove feature flag
89
88
const createdOnboarding =
90
89
await database . query . workspaceOnboarding . findFirst ( {
91
90
where : utils . eq ( workspaceOnboarding . workspaceId , workspace . id ) ,
92
91
} )
93
- expect ( createdOnboarding ) . not . toBeDefined ( )
92
+ expect ( createdOnboarding ) . toBeDefined ( )
93
+ // TODO(onboarding): change this once we have a new onboarding and we remove feature flag
94
+ expect ( createdOnboarding ?. completedAt ) . toBeDefined ( )
94
95
} )
95
96
96
97
it ( 'publishes userCreated event' , async ( ) => {
You can’t perform that action at this time.
0 commit comments