|
|
|
@ -241,6 +241,12 @@ fn it_format_out_dir_on_windows() { |
|
|
|
|
fixture.run(cli.cmd).unwrap(); |
|
|
|
|
|
|
|
|
|
let wasm_pack_log = utils::file::read_file(&fixture.path.join("wasm-pack.log")).unwrap(); |
|
|
|
|
|
|
|
|
|
// may be the CI doesn't output INFO content
|
|
|
|
|
assert!( |
|
|
|
|
wasm_pack_log.contains("INFO"), |
|
|
|
|
"wasm_pack.log should output INFO level message", |
|
|
|
|
); |
|
|
|
|
assert!( |
|
|
|
|
wasm_pack_log.contains(r"Your wasm pkg is ready to publish at C:\Users\"), |
|
|
|
|
"directories in wasm-pack.log should be well formatted", |
|
|
|
|