test(nodejs): add test attribute to omitted tests (#1367)

This commit is contained in:
Dario Vladović 2020-06-21 17:59:00 +02:00 committed by GitHub
parent b176fc35ac
commit d1bbba321b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,7 @@ mod tests {
dir.close()
}
#[test]
fn folder_with_cjs_file() -> io::Result<()> {
let dir = tempfile::tempdir()?;
File::create(dir.path().join("index.cjs"))?.sync_all()?;
@ -106,6 +107,7 @@ mod tests {
dir.close()
}
#[test]
fn folder_with_ts_file() -> io::Result<()> {
let dir = tempfile::tempdir()?;
File::create(dir.path().join("index.ts"))?.sync_all()?;