Skip to content

Make frontend unit test zoneless for jasmine-core v7 compatibility #730

Description

@stijnpotters1

jasmine zoneless compatibility
This is the cause why jasmine v7 does not work with the latest zone.js version

Chrome Headless 151.0.0.0 (Linux 0.0.0): Executed 1094 of 1097 SUCCESS (0 secs / 2.239 secs)
Chrome Headless 151.0.0.0 (Linux 0.0.0): Executed 1095 of 1097 SUCCESS (0 secs / 2.247 secs)
Chrome Headless 151.0.0.0 (Linux 0.0.0): Executed 1096 of 1097 SUCCESS (0 secs / 2.255 secs)
Chrome Headless 151.0.0.0 (Linux 0.0.0): Executed 1097 of 1097 SUCCESS (0 secs / 2.263 secs)
Chrome Headless 151.0.0.0 (Linux 0.0.0) ERROR
  An error was thrown in afterAll
  Uncaught TypeError: Cannot assign to read only property 'jasmineStarted' of object '[object Object]'
  TypeError: Cannot assign to read only property 'jasmineStarted' of object '[object Object]'
      at /home/runner/work/insights/insights/node_modules/.pnpm/karma-jasmine-html-reporter@2.2.0_jasmine-core@7.0.1_karma-jasmine@5.1.0_karma@6.4.4_de_1aa7a952b3e2482616f7bfe610684374/node_modules/karma-jasmine-html-reporter/src/boot.js:77:37
      at /home/runner/work/insights/insights/node_modules/.pnpm/karma-jasmine-html-reporter@2.2.0_jasmine-core@7.0.1_karma-jasmine@5.1.0_karma@6.4.4_de_1aa7a952b3e2482616f7bfe610684374/node_modules/karma-jasmine-html-reporter/src/boot.js:172:3
Chrome Headless 151.0.0.0 (Linux 0.0.0): Executed 1097 of 1097 ERROR (0 secs / 2.263 secs)
Chrome Headless 151.0.0.0 (Linux 0.0.0) ERROR
  An error was thrown in afterAll
  Uncaught TypeError: Cannot assign to read only property 'jasmineStarted' of object '[object Object]'
  TypeError: Cannot assign to read only property 'jasmineStarted' of object '[object Object]'
      at /home/runner/work/insights/insights/node_modules/.pnpm/karma-jasmine-html-reporter@2.2.0_jasmine-core@7.0.1_karma-jasmine@5.1.0_karma@6.4.4_de_1aa7a952b3e2482616f7bfe610684374/node_modules/karma-jasmine-html-reporter/src/boot.js:77:37
      at /home/runner/work/insights/insights/node_modules/.pnpm/karma-jasmine-html-reporter@2.2.0_jasmine-core@7.0.1_karma-jasmine@5.1.0_karma@6.4.4_de_1aa7a952b3e2482616f7bfe610684374/node_modules/karma-jasmine-html-reporter/src/boot.js:172:3
Chrome Headless 151.0.0.0 (Linux 0.0.0): Executed 1097 of 1097 ERROR (2.585 secs / 2.263 secs)
Chrome Headless 151.0.0.0 (Linux 0.0.0): Executed 1097 of 1097 ERROR (2.586 secs / 2.263 secs)
 ELIFECYCLE  Test failed. See above for more details.
Error: Process completed with exit code 1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions