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:
parent
b176fc35ac
commit
d1bbba321b
@ -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()?;
|
||||||
|
Loading…
Reference in New Issue
Block a user