提交 cc177561 编写于 作者: J JJ Kasper 提交者: Joe Haddad

Run all Azure tests with node v10 (#8782)

* Run all Azure tests with node v10

* Update job names

* Update CSS test
上级 2612b48e
......@@ -8,17 +8,17 @@ strategy:
maxParallel: 10
matrix:
node-10-1:
group: 1/2
group: 1/4
node_version: ^10.10.0
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-8-1:
group: 1/2
node_version: ^8.12.0
node-8-2:
group: 2/2
node_version: ^8.12.0
steps:
- task: NodeTool@0
......
......@@ -354,10 +354,8 @@ describe('CSS Support', () => {
expect(cssFiles.length).toBe(1)
const cssContent = await readFile(join(cssFolder, cssFiles[0]), 'utf8')
expect(
cssContent.replace(/\/\*.*?\*\//g, '').trim()
).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}"`
expect(cssContent.replace(/\/\*.*?\*\//g, '').trim()).toMatch(
/^\.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\}$/
)
const mediaFiles = await readdir(mediaFolder)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册