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: initial tests for jstime_core::run_script #48

Merged
merged 2 commits into from
Sep 7, 2020
Merged

test: initial tests for jstime_core::run_script #48

merged 2 commits into from
Sep 7, 2020

Conversation

MylesBorins
Copy link
Member

First pass at some tests for the API surface. Borrowed logic from https://github.com/denoland/rusty_v8/blob/master/tests/test_api.rs on using a Mutex to ensure that V8 is properly initialized before tests run, and only initialized once. This can likely be reused as a harness for all our tests.

@MylesBorins
Copy link
Member Author

/cc @jstime/collaborators can we please get a review on this <3

@MylesBorins MylesBorins merged commit 48337dd into main Sep 7, 2020
@MylesBorins MylesBorins deleted the tests branch January 7, 2021 23:50
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.

None yet

2 participants