Skip to content

Commit

Permalink
test: fix tests to allow them running on the Status blockchain (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
EvgeniiZaitsevCW authored Oct 9, 2024
1 parent e8df923 commit ddb70af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/base/CWToken.complex.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ describe("Contract 'CWToken' - Premintable, Freezable & Restrictable scenarios",

describe("Frozen and premint balances", async () => {
let timestamp: number;
before(async () => {
beforeEach(async () => {
timestamp = (await getLatestBlockTimestamp()) + 100;
});
it("Transfer to purpose account - test 5 with release awaiting", async () => {
Expand Down Expand Up @@ -506,7 +506,7 @@ describe("Contract 'CWToken' - Premintable, Freezable & Restrictable scenarios",

describe("Premint and restricted balances", async () => {
let timestamp: number;
before(async () => {
beforeEach(async () => {
timestamp = (await getLatestBlockTimestamp()) + 100;
});
it("Transfer to purpose account - test 5 with release awaiting", async () => {
Expand Down Expand Up @@ -770,7 +770,7 @@ describe("Contract 'CWToken' - Premintable, Freezable & Restrictable scenarios",

describe("Frozen, restricted and premint balances", async () => {
let timestamp: number;
before(async () => {
beforeEach(async () => {
timestamp = (await getLatestBlockTimestamp()) + 100;
});
it("Transfer to purpose account - test 5 with release awaiting", async () => {
Expand Down Expand Up @@ -1300,7 +1300,7 @@ describe("Contract 'CWToken' - Premintable, Freezable & Restrictable scenarios",

describe("Premint balance only, no frozen balance or restricted balance", async () => {
let timestamp: number;
before(async () => {
beforeEach(async () => {
timestamp = await getLatestBlockTimestamp() + 100;
});
it("Transfer to purpose account with release awaiting - test 5", async () => {
Expand Down

0 comments on commit ddb70af

Please sign in to comment.