Skip to content

Commit

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

Test Plan: CI
  • Loading branch information
wbinnssmith authored and mehulkar committed Feb 1, 2023
1 parent 487ccd1 commit 82ff652
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 82ff652

Please sign in to comment.