Skip to content

Commit

Permalink
style: apply format and lint
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech>
  • Loading branch information
rwalworth authored and ivaylogarnev-limechain committed Oct 4, 2024
1 parent 6c4a1ff commit d45c10b
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions test/token-service/test_tokenCreateTransaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -3041,7 +3041,9 @@ describe("TokenCreateTransaction", function () {
treasuryAccountId: process.env.OPERATOR_ACCOUNT_ID,
autoRenewPeriod: 9223372036854775807n,
});
if (response.status === "NOT_IMPLEMENTED") this.skip();
if (response.status === "NOT_IMPLEMENTED") {
this.skip();
}
} catch (err) {
assert.equal(err.data.status, "INVALID_RENEWAL_PERIOD");
return;
Expand All @@ -3058,7 +3060,9 @@ describe("TokenCreateTransaction", function () {
treasuryAccountId: process.env.OPERATOR_ACCOUNT_ID,
autoRenewPeriod: 9223372036854775806n,
});
if (response.status === "NOT_IMPLEMENTED") this.skip();
if (response.status === "NOT_IMPLEMENTED") {
this.skip();
}
} catch (err) {
assert.equal(err.data.status, "INVALID_RENEWAL_PERIOD");
return;
Expand All @@ -3075,7 +3079,9 @@ describe("TokenCreateTransaction", function () {
treasuryAccountId: process.env.OPERATOR_ACCOUNT_ID,
autoRenewPeriod: 9223372036854775808n,
});
if (response.status === "NOT_IMPLEMENTED") this.skip();
if (response.status === "NOT_IMPLEMENTED") {
this.skip();
}
} catch (err) {
assert.equal(err.data.status, "INVALID_RENEWAL_PERIOD");
return;
Expand All @@ -3092,7 +3098,9 @@ describe("TokenCreateTransaction", function () {
treasuryAccountId: process.env.OPERATOR_ACCOUNT_ID,
autoRenewPeriod: 18446744073709551615n,
});
if (response.status === "NOT_IMPLEMENTED") this.skip();
if (response.status === "NOT_IMPLEMENTED") {
this.skip();
}
} catch (err) {
assert.equal(err.data.status, "INVALID_RENEWAL_PERIOD");
return;
Expand All @@ -3109,7 +3117,9 @@ describe("TokenCreateTransaction", function () {
treasuryAccountId: process.env.OPERATOR_ACCOUNT_ID,
autoRenewPeriod: 18446744073709551614n,
});
if (response.status === "NOT_IMPLEMENTED") this.skip();
if (response.status === "NOT_IMPLEMENTED") {
this.skip();
}
} catch (err) {
assert.equal(err.data.status, "INVALID_RENEWAL_PERIOD");
return;
Expand All @@ -3126,7 +3136,9 @@ describe("TokenCreateTransaction", function () {
treasuryAccountId: process.env.OPERATOR_ACCOUNT_ID,
autoRenewPeriod: -9223372036854775808n,
});
if (response.status === "NOT_IMPLEMENTED") this.skip();
if (response.status === "NOT_IMPLEMENTED") {
this.skip();
}
} catch (err) {
assert.equal(err.data.status, "INVALID_RENEWAL_PERIOD");
return;
Expand All @@ -3143,7 +3155,9 @@ describe("TokenCreateTransaction", function () {
treasuryAccountId: process.env.OPERATOR_ACCOUNT_ID,
autoRenewPeriod: -9223372036854775807n,
});
if (response.status === "NOT_IMPLEMENTED") this.skip();
if (response.status === "NOT_IMPLEMENTED") {
this.skip();
}
} catch (err) {
assert.equal(err.data.status, "INVALID_RENEWAL_PERIOD");
return;
Expand Down

0 comments on commit d45c10b

Please sign in to comment.