Skip to content

Commit 7ba1433

Browse files
committed
test(render): fix tests
1 parent 118ad32 commit 7ba1433

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/renderers/contentful/renderAllLocales.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe("renderSymbol()", () => {
2222

2323
it("works with a list of locales", () => {
2424
expect(format(renderAllLocales(locales))).toMatchInlineSnapshot(
25-
`"type LOCALE_CODE = \\"en-US\\" | \\"pt-BR\\";"`,
25+
`"export type LOCALE_CODE = \\"en-US\\" | \\"pt-BR\\";"`,
2626
)
2727
})
2828
})

test/renderers/contentful/renderDefaultLocale.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe("renderSymbol()", () => {
2222

2323
it("works with a list of locales", () => {
2424
expect(format(renderDefaultLocale(locales))).toMatchInlineSnapshot(
25-
`"type CONTENTFUL_DEFAULT_LOCALE_CODE = \\"en-US\\";"`,
25+
`"export type CONTENTFUL_DEFAULT_LOCALE_CODE = \\"en-US\\";"`,
2626
)
2727
})
2828

0 commit comments

Comments
 (0)