Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
9c3cc6de
Commit
9c3cc6de
authored
Jan 07, 2026
by
Tim Neutkens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reset file (apply canary)
parent
83c29023
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
css.test.ts
...ages/next/src/next-devtools/dev-overlay/utils/css.test.ts
+5
-7
No files found.
packages/next/src/next-devtools/dev-overlay/utils/css.test.ts
View file @
9c3cc6de
...
@@ -22,7 +22,7 @@ describe('css template literal tag', () => {
...
@@ -22,7 +22,7 @@ describe('css template literal tag', () => {
const
result
=
css
`
const
result
=
css
`
color: blue; /* this is a comment */
color: blue; /* this is a comment */
/* multi-line
/* multi-line
comment */
comment */
/** jsdoc */
/** jsdoc */
margin: 10px;
margin: 10px;
`
`
...
@@ -33,9 +33,9 @@ describe('css template literal tag', () => {
...
@@ -33,9 +33,9 @@ describe('css template literal tag', () => {
const
result
=
css
`
const
result
=
css
`
color: blue;
color: blue;
/*
/*
* This is multi-line comment.
* This is multi-line comment.
* Is should be removed.
* Is should be removed.
*/
*/
margin: 10px;
margin: 10px;
`
`
expect
(
result
).
toBe
(
'color:blue;margin:10px;'
)
expect
(
result
).
toBe
(
'color:blue;margin:10px;'
)
...
@@ -56,9 +56,7 @@ describe('css template literal tag', () => {
...
@@ -56,9 +56,7 @@ describe('css template literal tag', () => {
})
})
it
(
'should handle empty strings'
,
()
=>
{
it
(
'should handle empty strings'
,
()
=>
{
const
result
=
css
`
const
result
=
css
``
`
expect
(
result
).
toBe
(
''
)
expect
(
result
).
toBe
(
''
)
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment