Skip to content

Commit 7ecb80b

Browse files
Use minimum threshold instead of exact count in specParser integration test (#145)
* Initial plan * Use toBeGreaterThan(100) instead of exact count in spec parser test Co-authored-by: kdhillon-stripe <243457111+kdhillon-stripe@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: kdhillon-stripe <243457111+kdhillon-stripe@users.noreply.github.com>
1 parent 4bfe923 commit 7ecb80b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/sync-engine/src/openapi/__tests__/specParser.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ describe('SpecParser - Table Modes (runtime_required vs all_projected)', () => {
196196
[...RUNTIME_REQUIRED_TABLES].sort()
197197
)
198198
expect(allProjectedParsed.tables.length).toBeGreaterThan(runtimeParsed.tables.length)
199-
expect(allProjectedParsed.tables.length).toBe(106)
199+
expect(allProjectedParsed.tables.length).toBeGreaterThan(100)
200200
expect(
201201
allProjectedParsed.tables.some((table) => !RUNTIME_REQUIRED_TABLES.includes(table.tableName))
202202
).toBe(true)

0 commit comments

Comments
 (0)