Skip to content

Unit test failing #115

@amandiobm

Description

@amandiobm

Hello guys, I just clone the repository and run all the tests, and I received this error.

@coreui/[email protected] test:unit
vue-cli-service test:unit

FAIL tests/unit/Dashboard.spec.js
● Test suite failed to run

SecurityError: localStorage is not available for opaque origins

  at Window.get localStorage [as localStorage] (node_modules/jsdom/lib/jsdom/browser/Window.js:257:15)
      at Array.forEach (<anonymous>)

Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 0.49s
Ran all test suites.

I have an old version beta-5, with an old lock file which run perfectly.

My setup is:
Linux Ubuntu 16.04 LTS
NPM: 6.2.0
NODE: 8.11.3

Can someone help?!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions