Skip to content

Commit 1b2a240

Browse files
authored
font/google test: update cssmodule classnames (vercel/turborepo#3568)
#3437 wasn't up to date with main when it was merged. Test Plan: CI
1 parent 817e089 commit 1b2a240

File tree

1 file changed

+2
-4
lines changed
  • packages/next-swc/crates/next-dev-tests/tests/integration/next/font-google/basic/pages

1 file changed

+2
-4
lines changed

packages/next-swc/crates/next-dev-tests/tests/integration/next/font-google/basic/pages/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,12 @@ function runTests() {
3535

3636
it("supports declaring a css custom property (css variable)", async () => {
3737
expect(interWithVariableName).toEqual({
38-
className:
39-
"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",
38+
className: "className__inter_c6e282f1__d812ce46",
4039
style: {
4140
fontFamily: "'__Inter_c6e282f1'",
4241
fontStyle: "normal",
4342
},
44-
variable:
45-
"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",
43+
variable: "variable__inter_c6e282f1__d812ce46",
4644
});
4745

4846
const matchingRule = await getRuleMatchingClassName(

0 commit comments

Comments
 (0)