Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: rework unit tests to separate dom and node tests #1276

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Conversation

fpaul-1A
Copy link
Contributor

@fpaul-1A fpaul-1A commented Jan 25, 2024

Proposed change

Currently, we only have 1 jest config for all unit-tests
Unfortunately, the tests for src usually don't require the same environment as the tests for schematics and builders

The idea is to have a different project for each (check packages/@o3r/core/jest.config.ts)

This will fix the tests issue on #1255 and #1243

Related issues

  • 🐛 Fixes #(issue)
  • 🚀 Feature #(issue)

kpanot
kpanot previously approved these changes Jan 29, 2024
packages/@ama-sdk/core/testing/jest.config.ut.js Outdated Show resolved Hide resolved
@fpaul-1A fpaul-1A enabled auto-merge January 29, 2024 18:36
@fpaul-1A fpaul-1A added this pull request to the merge queue Jan 30, 2024
Merged via the queue into main with commit 380a2cc Jan 30, 2024
25 checks passed
@fpaul-1A fpaul-1A deleted the test/ut-rework branch January 30, 2024 13:42
@fpaul-1A fpaul-1A linked an issue Jan 30, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment