Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ run = 'OPENAPI_DOC_AUTH_TOKEN="$(doppler secrets get SDK_SPEC_ENDPOINT_TOKEN --p

[tasks."test"]
description = "Run the test suite"
run = "npm test"
run = "npm exec -- vitest run"

[tasks."test:update"]
description = "Run the test suite and update the snapshots"
run = "npm exec -- vitest run --update"
2 changes: 1 addition & 1 deletion tests/basic-behavior.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ describeSdkSuite("Basic SDK Behavior", () => {
// Verify and snapshot the request details
const request = ctx.getLastRequest();
expect(request.path).toMatchInlineSnapshot(
`"/v1/ats/jobs?ids=CPDifhHr7izJhKHmGPkXqknC%2CJ7znt8TJRiwPVA7paC2iCh8u&statuses=OPEN%2CCLOSED&include_deleted=false&page_size=100"`
`"/v1/ats/jobs?ids=CPDifhHr7izJhKHmGPkXqknC%2CJ7znt8TJRiwPVA7paC2iCh8u&statuses=OPEN%2CCLOSED&ignore_unsupported_filters=false&include_deleted=false&page_size=100"`
);
});

Expand Down
2 changes: 1 addition & 1 deletion tests/job-board.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describeSdkSuite("Kombo ATS Jobs API", () => {
// Verify and snapshot the request details
const request = ctx.getLastRequest();
expect(request.path).toMatchInlineSnapshot(
`"/v1/ats/jobs?include_deleted=false&page_size=100"`
`"/v1/ats/jobs?ignore_unsupported_filters=false&include_deleted=false&page_size=100"`
);
});
});