Skip to content

Commit

Permalink
remove async on parse test
Browse files Browse the repository at this point in the history
  • Loading branch information
bh2smith committed Apr 5, 2023
1 parent 5281941 commit 72422bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal_transfers/actions/tests/simulate-tenderly.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe("Tenderly Simulator", () => {
).rejects.toThrow("AxiosError: Request failed with status code 401");
});

test("parseSimulation() operates as expected", async () => {
test("parseSimulation() operates as expected", () => {
const mockSimulation = {
// Test Data excludes irrelevant fields.
transaction: {
Expand Down Expand Up @@ -91,7 +91,7 @@ describe("Tenderly Simulator", () => {
};
expect(invalidSimulator.parseSimulation(mockSimulation)).toMatchSnapshot();
});
test("parseSimulation() throws as expected.", async () => {
test("parseSimulation() throws as expected.", () => {
const invalidSimulator = new TenderlySimulator("", "", "");
expect(() => invalidSimulator.parseSimulation({})).toThrow(
"Invalid simulation data {}"
Expand Down

0 comments on commit 72422bd

Please sign in to comment.