Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Romsters committed Dec 19, 2024
1 parent f97761f commit c1ad918
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions packages/api/test/transaction.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ describe("TransactionController (e2e)", () => {
from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C",
gasLimit: "2009",
gasPrice: "1009",
gasUsed: "7009",
gasPerPubdata: "5009",
maxFeePerGas: "3009",
maxPriorityFeePerGas: "4009",
Expand Down Expand Up @@ -293,6 +294,7 @@ describe("TransactionController (e2e)", () => {
from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C",
gasLimit: "2008",
gasPrice: "1008",
gasUsed: "7008",
gasPerPubdata: "5008",
maxFeePerGas: "3008",
maxPriorityFeePerGas: "4008",
Expand Down Expand Up @@ -322,6 +324,7 @@ describe("TransactionController (e2e)", () => {
from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C",
gasLimit: "2007",
gasPrice: "1007",
gasUsed: "7007",
gasPerPubdata: "5007",
maxFeePerGas: "3007",
maxPriorityFeePerGas: "4007",
Expand Down Expand Up @@ -351,6 +354,7 @@ describe("TransactionController (e2e)", () => {
from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C",
gasLimit: "2006",
gasPrice: "1006",
gasUsed: "7006",
gasPerPubdata: "5006",
maxFeePerGas: "3006",
maxPriorityFeePerGas: "4006",
Expand Down Expand Up @@ -380,6 +384,7 @@ describe("TransactionController (e2e)", () => {
from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C",
gasLimit: "2005",
gasPrice: "1005",
gasUsed: "7005",
gasPerPubdata: "5005",
maxFeePerGas: "3005",
maxPriorityFeePerGas: "4005",
Expand Down Expand Up @@ -408,6 +413,7 @@ describe("TransactionController (e2e)", () => {
fee: "0x2386f26fc10000",
from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C",
gasPrice: "1004",
gasUsed: "7004",
gasLimit: "2004",
gasPerPubdata: "5004",
maxFeePerGas: "3004",
Expand Down Expand Up @@ -438,6 +444,7 @@ describe("TransactionController (e2e)", () => {
from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C",
gasLimit: "2003",
gasPrice: "1003",
gasUsed: "7003",
gasPerPubdata: "5003",
maxFeePerGas: "3003",
maxPriorityFeePerGas: "4003",
Expand Down Expand Up @@ -466,6 +473,7 @@ describe("TransactionController (e2e)", () => {
fee: "0x2386f26fc10000",
from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C",
gasPrice: "1002",
gasUsed: "7002",
gasLimit: "2002",
gasPerPubdata: "5002",
maxFeePerGas: "3002",
Expand Down Expand Up @@ -495,6 +503,7 @@ describe("TransactionController (e2e)", () => {
fee: "0x2386f26fc10000",
from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C",
gasPrice: "1001",
gasUsed: "7001",
gasLimit: "2001",
gasPerPubdata: "5001",
maxFeePerGas: "3001",
Expand Down Expand Up @@ -525,6 +534,7 @@ describe("TransactionController (e2e)", () => {
from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C",
gasLimit: "2000",
gasPrice: "1000",
gasUsed: "7000",
gasPerPubdata: "5000",
maxFeePerGas: "3000",
maxPriorityFeePerGas: "4000",
Expand Down Expand Up @@ -564,6 +574,7 @@ describe("TransactionController (e2e)", () => {
from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C",
gasLimit: "2008",
gasPrice: "1008",
gasUsed: "7008",
gasPerPubdata: "5008",
maxFeePerGas: "3008",
maxPriorityFeePerGas: "4008",
Expand Down Expand Up @@ -593,6 +604,7 @@ describe("TransactionController (e2e)", () => {
from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C",
gasLimit: "2007",
gasPrice: "1007",
gasUsed: "7007",
gasPerPubdata: "5007",
maxFeePerGas: "3007",
maxPriorityFeePerGas: "4007",
Expand Down Expand Up @@ -622,6 +634,7 @@ describe("TransactionController (e2e)", () => {
from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C",
gasLimit: "2006",
gasPrice: "1006",
gasUsed: "7006",
gasPerPubdata: "5006",
maxFeePerGas: "3006",
maxPriorityFeePerGas: "4006",
Expand Down Expand Up @@ -707,6 +720,7 @@ describe("TransactionController (e2e)", () => {
from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C",
gasLimit: "2001",
gasPrice: "1001",
gasUsed: "7001",
gasPerPubdata: "5001",
maxFeePerGas: "3001",
maxPriorityFeePerGas: "4001",
Expand Down Expand Up @@ -761,6 +775,7 @@ describe("TransactionController (e2e)", () => {
from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C",
gasLimit: "2001",
gasPrice: "1001",
gasUsed: "7001",
gasPerPubdata: "5001",
maxFeePerGas: "3001",
maxPriorityFeePerGas: "4001",
Expand Down Expand Up @@ -815,6 +830,7 @@ describe("TransactionController (e2e)", () => {
from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C",
gasLimit: "2007",
gasPrice: "1007",
gasUsed: "7007",
gasPerPubdata: "5007",
maxFeePerGas: "3007",
maxPriorityFeePerGas: "4007",
Expand Down Expand Up @@ -844,6 +860,7 @@ describe("TransactionController (e2e)", () => {
from: "0xc7e0220d02d549c4846A6EC31D89C3B670Ebe35C",
gasLimit: "2006",
gasPrice: "1006",
gasUsed: "7006",
gasPerPubdata: "5006",
maxFeePerGas: "3006",
maxPriorityFeePerGas: "4006",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ const transaction: TransactionItem = {
gasPerPubdata: "800",
maxFeePerGas: "7000",
maxPriorityFeePerGas: "8000",
isEvmLike: false,
contractAddress: null,
};

vi.mock("@/composables/useToken", () => {
Expand Down

0 comments on commit c1ad918

Please sign in to comment.