Skip to content

Move `assert_returns_resolved_value` into helper module

Azure Pipelines / azure next.js failed Aug 15, 2024 in 31m 16s

Build #20240815.81 had test failures

Details

Tests

  • Failed: 12 (4.55%)
  • Passed: 239 (90.53%)
  • Other: 13 (4.92%)
  • Total: 264

Annotations

Check failure on line 706 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure next.js

Build log #L706

Cmd.exe exited with code '1'.

Check failure on line 1 in create-next-app --example › should create with GitHub URL

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure next.js

create-next-app --example › should create with GitHub URL

Test failed
Raw output
  ● create-next-app --example › should create with GitHub URL

    expect(received).toBe(expected) // Object.is equality

    Expected: true
    Received: false

      83 |   for (const file of files) {
      84 |     try {
    > 85 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
         |                                                      ^
      86 |     } catch (err) {
      87 |       require('console').error(
      88 |         `missing expected file ${file}`,

      at toBe (integration/create-next-app/lib/utils.ts:85:54)
      at integration/create-next-app/examples.test.ts:64:30
      at useTempDir (lib/use-temp-dir.ts:24:5)
      at Object.<anonymous> (integration/create-next-app/examples.test.ts:53:5)

Check failure on line 1 in create-next-app --example › should create with GitHub URL trailing slash

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure next.js

create-next-app --example › should create with GitHub URL trailing slash

Test failed
Raw output
  ● create-next-app --example › should create with GitHub URL trailing slash

    expect(received).toBe(expected) // Object.is equality

    Expected: true
    Received: false

      83 |   for (const file of files) {
      84 |     try {
    > 85 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
         |                                                      ^
      86 |     } catch (err) {
      87 |       require('console').error(
      88 |         `missing expected file ${file}`,

      at toBe (integration/create-next-app/lib/utils.ts:85:54)
      at integration/create-next-app/examples.test.ts:96:30
      at useTempDir (lib/use-temp-dir.ts:24:5)
      at Object.<anonymous> (integration/create-next-app/examples.test.ts:79:5)

Check failure on line 1 in create-next-app --example › should use --example-path over the GitHub URL

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure next.js

create-next-app --example › should use --example-path over the GitHub URL

Test failed
Raw output
  ● create-next-app --example › should use --example-path over the GitHub URL

    expect(received).toBe(expected) // Object.is equality

    Expected: true
    Received: false

      83 |   for (const file of files) {
      84 |     try {
    > 85 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
         |                                                      ^
      86 |     } catch (err) {
      87 |       require('console').error(
      88 |         `missing expected file ${file}`,

      at toBe (integration/create-next-app/lib/utils.ts:85:54)
      at integration/create-next-app/examples.test.ts:165:30
      at useTempDir (lib/use-temp-dir.ts:24:5)
      at Object.<anonymous> (integration/create-next-app/examples.test.ts:145:5)

Check failure on line 1 in create-next-app --example › should create with GitHub URL and --example-path

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure next.js

create-next-app --example › should create with GitHub URL and --example-path

Test failed
Raw output
  ● create-next-app --example › should create with GitHub URL and --example-path

    expect(received).toBe(expected) // Object.is equality

    Expected: true
    Received: false

      83 |   for (const file of files) {
      84 |     try {
    > 85 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
         |                                                      ^
      86 |     } catch (err) {
      87 |       require('console').error(
      88 |         `missing expected file ${file}`,

      at toBe (integration/create-next-app/lib/utils.ts:85:54)
      at integration/create-next-app/examples.test.ts:130:30
      at useTempDir (lib/use-temp-dir.ts:24:5)
      at Object.<anonymous> (integration/create-next-app/examples.test.ts:110:5)