Merge pull request #332 from Hywan/js_test

test(js) Fix file permissions, and update a comment
This commit is contained in:
Nick Fitzgerald 2018-06-27 09:08:26 -07:00 committed by GitHub
commit 4ba61c1c20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -35,9 +35,10 @@ if_std! {
// * If a function or method can throw an exception, make it catchable by adding
// `#[wasm_bindgen(catch)]`.
//
// * Add a new `#[test]` to the `tests/all/js_globals.rs` file. If the imported
// function or method can throw an exception, make sure to also add test
// coverage for that case.
// * Add a new `#[test]` into the appropriate file in the
// `tests/all/js_globals/` directory. If the imported function or
// method can throw an exception, make sure to also add test coverage
// for that case.
#[wasm_bindgen]
extern {

0
tests/all/js_globals/Array.rs Executable file → Normal file
View File

0
tests/all/js_globals/Object.rs Executable file → Normal file
View File