File tree Expand file tree Collapse file tree 3 files changed +2
-18
lines changed
Expand file tree Collapse file tree 3 files changed +2
-18
lines changed Original file line number Diff line number Diff line change 55 "type" : " module" ,
66 "scripts" : {
77 "dev" : " vite" ,
8- "build" : " tsc && yarn test && vite build" ,
8+ "build" : " tsc && yarn test --run && vite build" ,
99 "preview" : " vite preview" ,
1010 "tauri" : " tauri" ,
1111 "knip" : " knip" ,
Original file line number Diff line number Diff line change 11/* eslint-disable react/prop-types */
2- "use client" ;
3-
4- import * as React from "react" ;
52import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog" ;
63import { cn } from "../utils/utils" ;
4+ import React from "react" ;
75
86const AlertDialog = AlertDialogPrimitive . Root ;
97
Original file line number Diff line number Diff line change @@ -85,13 +85,6 @@ describe("getSeasons", () => {
8585
8686 const seasons = getSeasons ( firstDataAt , lastDataAt ) ;
8787
88- console . log ( "Test case - seasons returned:" , seasons . length ) ;
89- seasons . forEach ( ( season , index ) => {
90- console . log (
91- `${ index } : startDate: ${ season . startDate . toString ( ) } , endDate: ${ season . endDate . toString ( ) } `
92- ) ;
93- } ) ;
94-
9588 // Should return 3 seasons including 2025-2026
9689 expect ( seasons ) . toHaveLength ( 3 ) ;
9790
@@ -124,13 +117,6 @@ describe("getSeasons", () => {
124117
125118 const seasons = getSeasons ( firstDataAt , lastDataAt ) ;
126119
127- console . log ( "Bug reproduction test - seasons returned:" , seasons . length ) ;
128- seasons . forEach ( ( season , index ) => {
129- console . log (
130- `${ index } : startDate: ${ season . startDate . toString ( ) } , endDate: ${ season . endDate . toString ( ) } `
131- ) ;
132- } ) ;
133-
134120 // Should return 3 seasons:
135121 // 1. 2023-2024 (Nov 2023 falls in this season)
136122 // 2. 2024-2025
You can’t perform that action at this time.
0 commit comments