Skip to content

Enables Deno specific tests in Core#1074

Closed
bigmontz wants to merge 1 commit intoneo4j:5.0from
bigmontz:5.x-enable-tests-in-core-deno
Closed

Enables Deno specific tests in Core#1074
bigmontz wants to merge 1 commit intoneo4j:5.0from
bigmontz:5.x-enable-tests-in-core-deno

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.

"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
@MaxAake
Copy link
Contributor

MaxAake commented Feb 13, 2026

The idea is good but the changes here are out of date and small, so it'll be easier to start from scratch

@MaxAake MaxAake closed this Feb 13, 2026
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.

3 participants