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

Enables Deno specific tests in Core #1074

Open
wants to merge 1 commit into
base: 5.0
Choose a base branch
from

Conversation

bigmontz
Copy link
Contributor

@bigmontz bigmontz commented Apr 4, 2023

Core features which are environment dependent will need to be implemented. For testing this features, environment dependent tests need to be setup.

The deno tests can be run by npm run test::deno and they need to be located under ./packages/core/test/deno. The testkit pipeline is configured to run these tests only when configured for test deno.

@@ -10,6 +10,7 @@
"test": "jest",
"test::watch": "jest --watch",
"test::unit": "npm run test",
"test::deno": "deno test --allow-none ./test/deno/",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might worth to remove the flag --allow-none after you create testing code under ./test/deno/.

Core features which are environment dependent will need to be implemented.
For testing this features, environment dependent tests need to be setup.

The `deno` tests can be run by `npm run test::deno` and they need to be located under `./packages/core/test/deno`.
The testkit pipeline is configured to run these tests only when configured for test `deno`.
@bigmontz bigmontz force-pushed the 5.x-enable-tests-in-core-deno branch from 72b8636 to 4579f14 Compare April 6, 2023 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants