Skip to content

Commit 8414318

Browse files
committed
fix(lint): run prettier
1 parent 8d24342 commit 8414318

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.changeset/metal-bottles-travel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"@lingo.dev/_spec": major
2+
"@lingo.dev/_spec": patch
33
---
44

55
Add unit test for utility function in locales.ts

packages/spec/src/locales.spec.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,11 @@ describe("resolveLocaleCode", () => {
4444
});
4545

4646
it("should return first code for locales with multiple variants", () => {
47-
expect(resolveLocaleCode("sr")).toEqual("sr-RS");
47+
expect(resolveLocaleCode("sr")).toEqual("sr-RS");
4848
expect(resolveLocaleCode("zh")).toEqual("zh-CN");
4949
});
5050
});
5151

52-
5352
describe("getLocaleCodeDelimiter", () => {
5453
it("should return '-' for locale codes with hyphen delimiter", () => {
5554
expect(getLocaleCodeDelimiter("en-US")).toEqual("-");
@@ -82,4 +81,4 @@ describe("resolveOverridenLocale", () => {
8281
expect(resolveOverridenLocale("enUS", "_")).toEqual("enUS");
8382
expect(resolveOverridenLocale("frFR", "-")).toEqual("frFR");
8483
});
85-
});
84+
});

0 commit comments

Comments
 (0)