Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-830

Update unit test PR check to run unit tests with Nodejs v14

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.13
    • Fix Version/s: 3.0.14
    • Component/s: CI/CD

      Description

      We need to run unit tests with Nodejs v14 because we have errors with karma-sauce-launcher.

      27 06 2022 11:41:30.430:ERROR [plugin]: Error during loading "/home/runner/work/nuxeo-web-ui/nuxeo-web-ui/node_modules/karma-sauce-launcher" plugin:
      15  Unexpected token =
      1627 06 2022 11:41:30.455:ERROR [reporter]: Can not load reporter "saucelabs", it is not registered!
      17  Perhaps you are missing some plugin?
      1819START:
      2027 06 2022 11:41:30.494:WARN [filelist]: Pattern "/home/runner/work/nuxeo-web-ui/nuxeo-web-ui/addons/*/test/**.test.js" does not match any file.
      2127 06 2022 11:41:30.539:ERROR [karma-server]: Error: Found 2 load errors
      22    at Server.webServer.listen (/home/runner/work/nuxeo-web-ui/nuxeo-web-ui/node_modules/karma/lib/server.js:192:27)
      23    at Object.onceWrapper (events.js:286:20)
      24    at Server.emit (events.js:203:15)
      25    at emitListeningNT (net.js:1314:10)
      26    at process._tickCallback (internal/process/next_tick.js:63:19)
      

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rdias Ricardo Dias
                Reporter:
                rdias Ricardo Dias
                Participants:
                Reviewers:
                Gabriel Barata, Samuel Fialho
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 25 minutes
                  25m