From d45c10b08513486a7922f80cdf2432baa91066bf Mon Sep 17 00:00:00 2001 From: Rob Walworth Date: Thu, 3 Oct 2024 16:38:47 -0400 Subject: [PATCH] style: apply format and lint Signed-off-by: Rob Walworth Signed-off-by: ivaylogarnev-limechain --- .../test_tokenCreateTransaction.js | 28 ++++++++++++++----- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/test/token-service/test_tokenCreateTransaction.js b/test/token-service/test_tokenCreateTransaction.js index a6b65f8..e691ada 100644 --- a/test/token-service/test_tokenCreateTransaction.js +++ b/test/token-service/test_tokenCreateTransaction.js @@ -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; @@ -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; @@ -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; @@ -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; @@ -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; @@ -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; @@ -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;