Skip to content

Commit

Permalink
font/google test: update cssmodule classnames (vercel/turborepo#3568)
Browse files Browse the repository at this point in the history
vercel/turborepo#3437 wasn't up to date with main when it was merged.

Test Plan: CI
  • Loading branch information
wbinnssmith authored Feb 1, 2023
1 parent e7afd12 commit 8c25edd
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,12 @@ function runTests() {

it("supports declaring a css custom property (css variable)", async () => {
expect(interWithVariableName).toEqual({
className:
"className◽[project-with-next]/crates/next-dev-tests/tests/integration/next/font-google/basic/[embedded_modules]/@vercel/turbopack-next/internal/font/google/inter_c6e282f1.module.css",
className: "className__inter_c6e282f1__d812ce46",
style: {
fontFamily: "'__Inter_c6e282f1'",
fontStyle: "normal",
},
variable:
"variable◽[project-with-next]/crates/next-dev-tests/tests/integration/next/font-google/basic/[embedded_modules]/@vercel/turbopack-next/internal/font/google/inter_c6e282f1.module.css",
variable: "variable__inter_c6e282f1__d812ce46",
});

const matchingRule = await getRuleMatchingClassName(
Expand Down

0 comments on commit 8c25edd

Please sign in to comment.