napi-rs/examples/napi/tests
2023-12-13 12:40:01 +08:00
..
build_error_tests fix(napi-derive): upgrade syn (#1849) 2023-12-13 12:40:01 +08:00
macro_tests.rs test(napi-derive): add trybuild negative macro tests 2022-05-23 11:55:19 +08:00
README.md test(napi-derive): add trybuild negative macro tests 2022-05-23 11:55:19 +08:00

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