Skip to content

Commit d1e287c

Browse files
authoredFeb 14, 2024··
chore: lenient test condition for slower builds (#5345)
1 parent de1a715 commit d1e287c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎packages/table-core/__tests__/getGroupedRowModel.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function generateColumns(people: Person[]): PersonColumn[] {
1717
}
1818

1919
describe('#getGroupedRowModel', () => {
20-
it('groups 50k rows and 3 grouped columns with clustered data in less than 3 seconds', () => {
20+
it('groups 50k rows and 3 grouped columns with clustered data in less than 5 seconds', () => {
2121
const data = makeData(50000)
2222
const columns = generateColumns(data)
2323
const grouping = ['firstName', 'lastName', 'age']
@@ -46,6 +46,6 @@ describe('#getGroupedRowModel', () => {
4646
expect(
4747
groupedById['firstName:Fixed>lastName:Name>age:123'].leafRows.length
4848
).toEqual(50000)
49-
expect(end.valueOf() - start.valueOf()).toBeLessThan(3000)
49+
expect(end.valueOf() - start.valueOf()).toBeLessThan(5000)
5050
})
5151
})

0 commit comments

Comments
 (0)
Please sign in to comment.