diff --git a/src/spec.js b/src/spec.js
index <HASH>..<HASH> 100644
--- a/src/spec.js
+++ b/src/spec.js
@@ -14,5 +14,5 @@
  * limitations under the License.
  */
 
-var testContext = require.context('.', true, /\.spec\.ts/);
+var testContext = require.context('.', true, /\.spec\.ts$/);
 testContext.keys().map(testContext);
chore: use better regular expression for unit test paths