Skip to content

Commit

Permalink
fix: allow testing of template whose name matches its parent directory
Browse files Browse the repository at this point in the history
  • Loading branch information
dtudury committed Mar 2, 2023
1 parent d00eeb7 commit 3f9da1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/test/src/util/loadTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ function getRenderer(dir) {
var paths = [
path.join(dir, "index"),
path.join(dir, "renderer"),
path.join(dir, "template.marko")
path.join(dir, "template.marko"),
path.join(dir, path.basename(dir))
];

for (var i = 0; i < paths.length; i++) {
Expand Down

0 comments on commit 3f9da1f

Please sign in to comment.