Added node_modules path check on getTodoComments method.

This commit is contained in:
Armando Aguirre
2017-07-17 17:35:46 -07:00
parent de9a67f2f3
commit 6f28f83f18
4 changed files with 23 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
// Tests node_modules name in file still gets todos.
// @Filename: /node_modules_todotest0.ts
//// // [|TODO|]
verify.todoCommentsInCurrentFile(["TODO"]);

View File

@@ -0,0 +1,6 @@
// Tests that todos are not found in node_modules folder.
// @Filename: /node_modules/todotest0.ts
//// // TODO
verify.todoCommentsInCurrentFile(["TODO"]);

View File

@@ -0,0 +1,4 @@
// @Filename: dir1/node_modules/todotest0.ts
//// // TODO
verify.todoCommentsInCurrentFile(["TODO"]);