fork of https://github.com/rustwasm/wasm-pack for the needs of NextGraph.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
wasm-pack/tests/wasm-pack.rs

9 lines
193 B

extern crate wasm_pack;
use std::fs;
#[test]
fn it_creates_a_package_json() {
assert!(wasm_pack::write_package_json().is_ok());
assert!(fs::metadata("./pkg/package.json").is_ok());
}