Changed package manager for install-native.mjs to pnpm #52971
Build #20230721.88 had test failures
Details
- Failed: 10 (4.27%)
- Passed: 220 (94.02%)
- Other: 4 (1.71%)
- Total: 234
Annotations
Check failure on line 649 in Build log
azure-pipelines / azure next.js
Build log #L649
Cmd.exe exited with code '1'.
Check failure on line 121 in Build log
azure-pipelines / azure next.js
Build log #L121
Cmd.exe exited with code '1'.
azure-pipelines / azure next.js
Production Usage › Dynamic import › default behavior › should render one dynamically imported component and load its css files
Test failed
Raw output
● Production Usage › Dynamic import › default behavior › should render one dynamically imported component and load its css files
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
20 | const $ = await get$('/dynamic/css')
21 | const cssFiles = $('link[rel=stylesheet]')
> 22 | expect(cssFiles.length).toBe(1)
| ^
23 | })
24 |
25 | it('should render three dynamically imported components and load their css files', async () => {
at Object.<anonymous> (integration/production/test/dynamic.js:22:33)
at runMicrotasks (<anonymous>)
azure-pipelines / azure next.js
Production Usage › Dynamic import › default behavior › should render three dynamically imported components and load their css files
Test failed
Raw output
● Production Usage › Dynamic import › default behavior › should render three dynamically imported components and load their css files
expect(received).toBe(expected) // Object.is equality
Expected: 3
Received: 0
26 | const $ = await get$('/dynamic/many-dynamic-css')
27 | const cssFiles = $('link[rel=stylesheet]')
> 28 | expect(cssFiles.length).toBe(3)
| ^
29 | })
30 |
31 | it('should bundle two css modules for one dynamically imported component into one css file', async () => {
at Object.<anonymous> (integration/production/test/dynamic.js:28:33)
at runMicrotasks (<anonymous>)
azure-pipelines / azure next.js
Production Usage › Dynamic import › default behavior › should bundle two css modules for nested components into one css file
Test failed
Raw output
● Production Usage › Dynamic import › default behavior › should bundle two css modules for nested components into one css file
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
38 | const $ = await get$('/dynamic/nested-css')
39 | const cssFiles = $('link[rel=stylesheet]')
> 40 | expect(cssFiles.length).toBe(1)
| ^
41 | })
42 |
43 | it('should not remove css styles for same css file between page transitions', async () => {
at Object.<anonymous> (integration/production/test/dynamic.js:40:33)
at runMicrotasks (<anonymous>)
azure-pipelines / azure next.js
Production Usage › Dynamic import › default behavior › should bundle two css modules for one dynamically imported component into one css file
Test failed
Raw output
● Production Usage › Dynamic import › default behavior › should bundle two css modules for one dynamically imported component into one css file
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
32 | const $ = await get$('/dynamic/many-css-modules')
33 | const cssFiles = $('link[rel=stylesheet]')
> 34 | expect(cssFiles.length).toBe(1)
| ^
35 | })
36 |
37 | it('should bundle two css modules for nested components into one css file', async () => {
at Object.<anonymous> (integration/production/test/dynamic.js:34:33)
at runMicrotasks (<anonymous>)