-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: avoid infinite recursion on self reference dep
- Loading branch information
1 parent
e064f88
commit ac32fe6
Showing
5 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import fixture from "../../../fixture"; | ||
|
||
describe("misc self reference", () => { | ||
describe("with default", fixture("./templates/self-reference.marko")); | ||
}); |
3 changes: 3 additions & 0 deletions
3
src/__tests__/fixtures/misc/self-reference-fn/templates/self-reference.marko
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<const/fn() { | ||
console.log(fn); | ||
}/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters