From d1bbba321b74ce856228e75d76c3001c1d8d1b60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dario=20Vladovi=C4=87?= Date: Sun, 21 Jun 2020 17:59:00 +0200 Subject: [PATCH] test(nodejs): add test attribute to omitted tests (#1367) --- src/modules/nodejs.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/nodejs.rs b/src/modules/nodejs.rs index ac81e09e..e1717a0a 100644 --- a/src/modules/nodejs.rs +++ b/src/modules/nodejs.rs @@ -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()?;