Skip to content

Commit ab6471d

Browse files
committed
fix(x-client): skip flaky tests that make live IMX API calls
These tests hit api.x.immutable.com with no mocking, causing failures when Nx cache misses. StarkEx/IMX is deprecated and these tests will be removed when x-client is deleted in a follow-up PR.
1 parent 01d91f9 commit ab6471d

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

packages/x-client/src/imx.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ import {
88
createImmutableXConfiguration,
99
} from './config';
1010

11-
describe('IMXClient', () => {
11+
// Skipped: these tests make live HTTP calls to api.x.immutable.com with no mocking,
12+
// causing circular JSON serialization errors. StarkEx/IMX is deprecated —
13+
// these will be removed when x-client is deleted.
14+
describe.skip('IMXClient', () => {
1215
it('should instantiate a SANDBOX IMXClient', async () => {
1316
const imtblConfig = new ImmutableConfiguration({
1417
environment: Environment.SANDBOX,

packages/x-client/src/utils/stark/starkCurve.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ describe('Key generation', () => {
2525
);
2626
});
2727

28-
describe('Stark Key', () => {
28+
// Skipped: these tests make live HTTP calls to api.x.immutable.com with no mocking.
29+
// StarkEx/IMX is deprecated — these will be removed when x-client is deleted.
30+
describe.skip('Stark Key', () => {
2931
const tests = [
3032
{
3133
name: 'case 1 - Should generate Legacy Stark public key',

0 commit comments

Comments
 (0)