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
cc177561
Commit
cc177561
authored
Sep 18, 2019
by
JJ Kasper
Committed by
Joe Haddad
Sep 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run all Azure tests with node v10 (#8782)
* Run all Azure tests with node v10 * Update job names * Update CSS test
parent
2612b48e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
12 deletions
+10
-12
azure-pipelines.yml
azure-pipelines.yml
+8
-8
index.test.js
test/integration/css/test/index.test.js
+2
-4
No files found.
azure-pipelines.yml
View file @
cc177561
...
@@ -8,17 +8,17 @@ strategy:
...
@@ -8,17 +8,17 @@ strategy:
maxParallel
:
10
maxParallel
:
10
matrix
:
matrix
:
node-10-1
:
node-10-1
:
group
:
1/
2
group
:
1/
4
node_version
:
^10.10.0
node_version
:
^10.10.0
node-10-2
:
node-10-2
:
group
:
2/2
group
:
2/4
node_version
:
^10.10.0
node-10-3
:
group
:
3/4
node_version
:
^10.10.0
node-10-4
:
group
:
4/4
node_version
:
^10.10.0
node_version
:
^10.10.0
node-8-1
:
group
:
1/2
node_version
:
^8.12.0
node-8-2
:
group
:
2/2
node_version
:
^8.12.0
steps
:
steps
:
-
task
:
NodeTool@0
-
task
:
NodeTool@0
...
...
test/integration/css/test/index.test.js
View file @
cc177561
...
@@ -354,10 +354,8 @@ describe('CSS Support', () => {
...
@@ -354,10 +354,8 @@ describe('CSS Support', () => {
expect
(
cssFiles
.
length
).
toBe
(
1
)
expect
(
cssFiles
.
length
).
toBe
(
1
)
const
cssContent
=
await
readFile
(
join
(
cssFolder
,
cssFiles
[
0
]),
'utf8'
)
const
cssContent
=
await
readFile
(
join
(
cssFolder
,
cssFiles
[
0
]),
'utf8'
)
expect
(
expect
(
cssContent
.
replace
(
/
\/\*
.*
?\*\/
/g
,
''
).
trim
()).
toMatch
(
cssContent
.
replace
(
/
\/\*
.*
?\*\/
/g
,
''
).
trim
()
/^
\.
red-text
\{
color:red;background-image:url
\(
static
\/
media
\/
dark
\.[
a-z0-9
]{32}\.
svg
\)\}\.
blue-text
\{
color:orange;font-weight:bolder;background-image:url
\(
static
\/
media
\/
light
\.[
a-z0-9
]{32}\.
svg
\)
;color:#00f
\}
$/
).
toMatchInlineSnapshot
(
`".red-text{color:red;background-image:url(static/media/dark.aec5f3c9cc94e82b1ec7e67df51fee37.svg)}.blue-text{color:orange;font-weight:bolder;background-image:url(static/media/light.a3db2506d3b40692ea343b66d8277fb9.svg);color:#00f}"`
)
)
const
mediaFiles
=
await
readdir
(
mediaFolder
)
const
mediaFiles
=
await
readdir
(
mediaFolder
)
...
...
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