@@ -218,6 +218,26 @@ describe('task line rendering - layout options', () => {
218
218
) ;
219
219
} ) ;
220
220
221
+ it ( 'renders a done task correctly with the default layout' , async ( ) => {
222
+ await testLayoutOptions (
223
+ [
224
+ 'Do exercises #todo #health' ,
225
+ ' π abcdef' ,
226
+ ' βοΈ 123456,abc123' ,
227
+ ' πΌ' ,
228
+ ' π every day when done' ,
229
+ ' β 2023-07-01' ,
230
+ ' π« 2023-07-02' ,
231
+ ' β³ 2023-07-03' ,
232
+ ' π
2023-07-04' ,
233
+ ' β 2023-07-06' ,
234
+ ' β
2023-07-05' ,
235
+ ' ^dcf64c' ,
236
+ ] ,
237
+ taskLayoutComponents ,
238
+ ) ;
239
+ } ) ;
240
+
221
241
it ( 'renders with priority' , async ( ) => {
222
242
await testLayoutOptions ( [ 'Do exercises #todo #health' , ' πΌ' ] , [ 'priority' ] ) ;
223
243
} ) ;
@@ -242,26 +262,6 @@ describe('task line rendering - layout options', () => {
242
262
await testLayoutOptions ( [ 'Do exercises #todo #health' , ' π
2023-07-04' ] , [ 'dueDate' ] ) ;
243
263
} ) ;
244
264
245
- it ( 'renders a done task correctly with the default layout' , async ( ) => {
246
- await testLayoutOptions (
247
- [
248
- 'Do exercises #todo #health' ,
249
- ' π abcdef' ,
250
- ' βοΈ 123456,abc123' ,
251
- ' πΌ' ,
252
- ' π every day when done' ,
253
- ' β 2023-07-01' ,
254
- ' π« 2023-07-02' ,
255
- ' β³ 2023-07-03' ,
256
- ' π
2023-07-04' ,
257
- ' β 2023-07-06' ,
258
- ' β
2023-07-05' ,
259
- ' ^dcf64c' ,
260
- ] ,
261
- taskLayoutComponents ,
262
- ) ;
263
- } ) ;
264
-
265
265
it ( 'renders with done date' , async ( ) => {
266
266
await testLayoutOptions ( [ 'Do exercises #todo #health' , ' β
2023-07-05' ] , [ 'doneDate' ] ) ;
267
267
} ) ;
0 commit comments