File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ export const WithFarAwayDeadline: Story = {
147
147
} ) ;
148
148
} ,
149
149
} ;
150
+
150
151
export const WithFarAwayDeadlineRequiredByTemplate : Story = {
151
152
args : {
152
153
workspace : {
@@ -168,7 +169,7 @@ export const WithFarAwayDeadlineRequiredByTemplate: Story = {
168
169
await userEvent . hover ( canvas . getByTestId ( "schedule-controls-autostop" ) ) ;
169
170
await waitFor ( ( ) =>
170
171
expect ( screen . getByRole ( "tooltip" ) ) . toHaveTextContent (
171
- / t e m p l a t e h a s a n a u t o s t o p r e q u i r m e n t / ,
172
+ / t e m p l a t e h a s a n a u t o s t o p r e q u i r e m e n t / ,
172
173
) ,
173
174
) ;
174
175
} ) ;
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ export const autostopDisplay = (
121
121
let title = (
122
122
< HelpTooltipTitle > Template Autostop requirement</ HelpTooltipTitle >
123
123
) ;
124
- let reason : ReactNode = ` because the ${ template . display_name } template has an autostop requirment .` ;
124
+ let reason : ReactNode = ` because the ${ template . display_name } template has an autostop requirement .` ;
125
125
if ( template . autostop_requirement && template . allow_user_autostop ) {
126
126
title = < HelpTooltipTitle > Autostop schedule</ HelpTooltipTitle > ;
127
127
reason = (
You can’t perform that action at this time.
0 commit comments