Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmaayan committed Oct 20, 2023
1 parent 3030c2d commit 5272c7f
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tests/e2e/client/aptosRequest.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,6 @@ const config = new AptosConfig({ network: Network.LOCAL });

describe("aptos request", () => {
describe("headers", () => {
test(
"call should include x-aptos-client header",
async () => {
try {
const response = await aptosRequest(
{ url: `${NetworkToNodeAPI[config.network]}`, method: "GET", path: "accounts/0x1" },
config,
);
expect(response.config.headers).toHaveProperty("x-aptos-client", `aptos-ts-sdk/${VERSION}`);
} catch (error: any) {
// should not get here
expect(true).toBe(false);
}
},
longTestTimeout,
);

test(
"call should include all expected headers",
async () => {
Expand Down

0 comments on commit 5272c7f

Please sign in to comment.