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
1 change: 1 addition & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[env]
TS_RS_EXPORT_DIR = { value = "clients/javascript/lib/gen_types", relative = true }
SQLX_OFFLINE = "true"

[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/server-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ jobs:
cargo install sqlx-cli --no-default-features --features postgres || true
(cd crates/infra && sqlx migrate run)

- name: Check sqlx offline cache is up to date
run: |
cd crates/infra && cargo sqlx prepare --check

- name: Formatting
run: |
cargo +nightly fmt --all -- --check
Expand Down
3 changes: 2 additions & 1 deletion clients/javascript/tests/error-handling.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ describe('Error Handling', () => {
})

// Mock a timeout
nock('http://localhost:5000')
const port = process.env.NITTEI__HTTP_PORT ?? '5000'
nock(`http://localhost:${port}`)
.post('/api/v1/account')
.delay(100)
.reply(200, {})
Expand Down
Loading