Skip to content

Writing integration tests using jest framework #994

Closed
@multidila

Description

Support Question

Perhaps such a question has already been asked, but, unfortunately, I could not find it.
In general, I need help with the following:
We are developing in a monorepe on Angular and use your library @finos/perspective. We connected it through npm, but when writing tests, we encountered a problem that the perspective instance is not visible during the test pass, that is, it is undefined, the same problem was when starting the application. Then we connected the perspective-webpack-plugin package, created webpack.config and everything worked in the browser, but the problem remained in the tests.
Tell me, please, do not know what could be the problem or which way to look? (there was a hypothesis that we need to add the same plugin in jest.config, but I don’t know how yet)

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