napi-rs/examples/napi/tests
2022-05-23 11:55:19 +08:00
..
build_error_tests
macro_tests.rs
README.md

trybuild tests

Set of tests to exercise various macro expansion errors.

Notes on adding a new test

  • Make sure to include the new test in build_error_tests/mod.rs so it gets included as part of the crate for formatting purposes.

Running the tests

yarn test:macro

or

cargo test -p napi-examples