1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-19 11:35:16 +00:00

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

View File

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