Skip to content

Commit 50be0d7

Browse files
committed
style: reverted formatting
1 parent 998b3f6 commit 50be0d7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/src/validating-tests.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe("validatingSpec", () => {
3434
beforeEach(() => {
3535
validateInput = jasmine.createSpy("validateInput");
3636
validateFormat = jasmine.createSpy("validateFormat");
37-
revert = validating.__set__({ validateFormat, validateInput });
37+
revert = validating.__set__({validateFormat, validateInput});
3838
});
3939

4040
afterEach(() => {
@@ -79,7 +79,7 @@ describe("validatingSpec", () => {
7979
beforeEach(() => {
8080
error = jasmine.createSpy("error");
8181
revert = validating.__set__({
82-
console: { error }
82+
console: {error}
8383
});
8484
});
8585

@@ -90,9 +90,9 @@ describe("validatingSpec", () => {
9090
it("validates valid formats", () => {
9191
let data = [
9292
// format
93-
{ prefix: "foo" },
94-
{ mantissa: 3 },
95-
{ totalLength: 3 }
93+
{prefix: "foo"},
94+
{mantissa: 3},
95+
{totalLength: 3}
9696
];
9797

9898
data.forEach((format) => {
@@ -176,7 +176,7 @@ describe("validatingSpec", () => {
176176
beforeEach(() => {
177177
error = jasmine.createSpy("error");
178178
revert = validating.__set__({
179-
console: { error }
179+
console: {error}
180180
});
181181
});
182182

@@ -290,7 +290,7 @@ describe("validatingSpec", () => {
290290
},
291291
ordinal: () => "",
292292
currency: {},
293-
currencyFormat: { bar: 2 }
293+
currencyFormat: {bar: 2}
294294
},
295295
"[Validate currencyFormat] Invalid key: bar"
296296
],
@@ -305,7 +305,7 @@ describe("validatingSpec", () => {
305305
trillion: ""
306306
},
307307
ordinal: () => "",
308-
currency: { symbol: 2 }
308+
currency: {symbol: 2}
309309
},
310310
"[Validate currency] symbol type mismatched: \"string\" expected, \"number\" provided"
311311
],

0 commit comments

Comments
 (0)