Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade resolver tests #1321

Merged
merged 91 commits into from
Jan 25, 2023
Merged
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
5296ec1
refactor "angle contextual component, lower" test
void-mAlex Jan 8, 2023
8d8f629
refactor "optional component missing in mustache" test
void-mAlex Jan 8, 2023
f9e208a
refactor "component rules can be expressed via component helper" test
void-mAlex Jan 8, 2023
aab823a
refactor "optional component missing in mustache block" test
void-mAlex Jan 8, 2023
fcbc32f
remove duplicate test that was refactored in:
void-mAlex Jan 9, 2023
40d3b79
refactor "optional component declared as element missing in mustache …
void-mAlex Jan 9, 2023
e501140
refactor "optional component missing in element" test
void-mAlex Jan 9, 2023
370553e
refactor "class defined helper not failing if there is no arguments" …
void-mAlex Jan 9, 2023
3618fb0
refactor "class defined helper not failing with arguments" test
void-mAlex Jan 9, 2023
ff9aa15
refactor "helper defined in component not failing if there is no argu…
void-mAlex Jan 9, 2023
306a2f4
refactor "class defined component not failing if there is a block" test
void-mAlex Jan 9, 2023
95c371e
refactor "class defined component not failing with arguments" test
void-mAlex Jan 9, 2023
7fee8c6
refactor "mustache missing, no args" test
void-mAlex Jan 9, 2023
79149f0
refactor "mustache missing, with args" test
void-mAlex Jan 9, 2023
a1bc1b1
refactor "string literal passed to "helper" keyword in content positi…
void-mAlex Jan 9, 2023
ab428ac
refactor "string literal passed to "modifier" keyword in content posi…
void-mAlex Jan 9, 2023
5fbff82
refactor "modifier currying using the "modifier" keyword" test
void-mAlex Jan 10, 2023
87784db
refactor "built-in components are ignored when used with the componen…
void-mAlex Jan 10, 2023
7c20829
refactor "built-in helpers are ignored when used with the "helper" ke…
void-mAlex Jan 10, 2023
13f639e
refactor "built-in modifiers are ignored when used with the "modifier…
void-mAlex Jan 10, 2023
269a6ea
refactor "component helper with direct addon package reference" test
void-mAlex Jan 10, 2023
8ef0f50
refactor "component helper with direct addon package reference to a r…
void-mAlex Jan 10, 2023
3f29c05
refactor "angle bracket invocation of component with @ syntax" test
void-mAlex Jan 10, 2023
85548a0
reenable ast transform
void-mAlex Jan 12, 2023
776ed79
refactor "angle bracket invocation of component with @ syntax - self …
void-mAlex Jan 12, 2023
58fe874
refactor "helper with @ syntax" test
void-mAlex Jan 12, 2023
9d11b48
refactor "helper with @ syntax and direct addon package reference to …
void-mAlex Jan 12, 2023
e2e494f
refactor "string literal passed to "helper" keyword in helper positio…
void-mAlex Jan 12, 2023
c3a8c2d
refactor "helper currying using the "helper" keyword" test
void-mAlex Jan 12, 2023
199e144
refactor "string literal passed to "modifier" keyword in helper posit…
void-mAlex Jan 12, 2023
50b536e
refactor "string literal passed to component helper fails to resolve"…
void-mAlex Jan 12, 2023
6bed6d5
refactor "string literal passed to "helper" keyword fails to resolve"…
void-mAlex Jan 12, 2023
61239b0
refactor "string literal passed to "modifier" keyword fails to resolv…
void-mAlex Jan 12, 2023
ad8d530
refactor "string literal passed to component helper fails to resolve …
void-mAlex Jan 12, 2023
9e99e09
refactor "string literal passed to "helper" keyword fails to resolve …
void-mAlex Jan 12, 2023
5be7028
refactor "string literal passed to "modifier" keyword fails to resolv…
void-mAlex Jan 12, 2023
94f1542
refactor "angle component, js and hbs" test
void-mAlex Jan 12, 2023
eb6f7cf
refactor "nested angle component, js and hbs" test
void-mAlex Jan 12, 2023
87bcd8e
refactor "angle component missing" test
void-mAlex Jan 12, 2023
75a9c83
refactor "missing subexpression with args" test
void-mAlex Jan 12, 2023
a350739
refactor "missing subexpression no args" test
void-mAlex Jan 12, 2023
74debc9
refactor "emits no helpers when staticHelpers is off" test
void-mAlex Jan 12, 2023
031e5e1
refactor "helper as component argument" test
void-mAlex Jan 12, 2023
9d2095e
refactor "helper as html attribute" test
void-mAlex Jan 12, 2023
ceb27c1
refactor "missing modifier" test
void-mAlex Jan 12, 2023
deef069
refactor "emits no modifiers when staticModifiers is off" test
void-mAlex Jan 12, 2023
ece8349
refactor "modifier on component" test
void-mAlex Jan 12, 2023
79e74ff
refactor "modifier on contextual component" test
void-mAlex Jan 12, 2023
a36a542
refactor "modifier provided as an argument" test
void-mAlex Jan 12, 2023
a99f87c
*refactor "contextual modifier" test
void-mAlex Jan 12, 2023
140766a
refactor "local binding takes precedence over helper in bare mustache…
void-mAlex Jan 12, 2023
ca72f6b
refactor "local binding takes precedence over component in element po…
void-mAlex Jan 12, 2023
c8b3592
refactor "local binding takes precedence over modifier" test
void-mAlex Jan 12, 2023
dc8cc0d
refactor "angle components can establish local bindings" test
void-mAlex Jan 12, 2023
195dbeb
refactor "local binding only applies within block" test
void-mAlex Jan 12, 2023
78a2e92
refactor "ignores builtins" test
void-mAlex Jan 12, 2023
52fff6a
refactor "ignores dot-rule curly component invocation, inline" test
void-mAlex Jan 12, 2023
c86472c
refactor "ignores dot-rule curly component invocation, block" test
void-mAlex Jan 12, 2023
8123d4d
*refactor "respects yieldsSafeComponents rule, position 0" test
void-mAlex Jan 12, 2023
468ff88
refactor "respects yieldsSafeComponents rule on element, position 0" …
void-mAlex Jan 12, 2023
d49db93
*refactor "respects yieldsSafeComponents rule, position 1" test
void-mAlex Jan 12, 2023
4cd8004
*refactor "respects yieldsSafeComponents rule, position 0.field" test
void-mAlex Jan 12, 2023
08cf0b2
*refactor "respects yieldsSafeComponents rule, position 1.field" test
void-mAlex Jan 12, 2023
b3497b7
refactor "acceptsComponentArguments argument name may include optiona…
void-mAlex Jan 12, 2023
7af9bb0
refactor "acceptsComponentArguments on mustache with component subexp…
void-mAlex Jan 12, 2023
baf1442
refactor "acceptsComponentArguments matches co-located template" test
void-mAlex Jan 12, 2023
fcdd95d
*refactor "element block params are not in scope for element's own at…
void-mAlex Jan 12, 2023
aa3b341
refactor "acceptsComponentArguments on mustache with invalid literal"…
void-mAlex Jan 12, 2023
5dbdbb5
refactor "acceptsComponentArguments interior usage of path generates …
void-mAlex Jan 12, 2023
e9eee19
refactor "acceptsComponentArguments interior usage of this.path gener…
void-mAlex Jan 12, 2023
d200e44
refactor "acceptsComponentArguments interior usage of @path generates…
void-mAlex Jan 12, 2023
8b4681e
refactor "safeToIgnore a missing component" test
void-mAlex Jan 12, 2023
829c21e
*refactor safeToIgnore a present component" test
void-mAlex Jan 12, 2023
53f01cf
*refactor "respects yieldsArguments rule for positional block param, …
void-mAlex Jan 12, 2023
6a5197a
refactor "respects yieldsArguments rule for positional block param, c…
void-mAlex Jan 12, 2023
5b7db62
refactor "respects yieldsArguments rule for hash block param" test
void-mAlex Jan 12, 2023
12e4f60
refactor "yieldsArguments causes warning to propagate up lexically, a…
void-mAlex Jan 12, 2023
9ceeef7
refactor "yieldsArguments causes warning to propagate up lexically, c…
void-mAlex Jan 12, 2023
176fcce
refactor "yieldsArguments causes warning to propagate up lexically, m…
void-mAlex Jan 12, 2023
df50d1c
*refactor "respects invokes rule on a component" test
void-mAlex Jan 12, 2023
556e84d
*refactor "respects invokes rule on a non-component app template" test
void-mAlex Jan 12, 2023
c8f6e24
*refactor "respects invokes rule on a non-component addon template" test
void-mAlex Jan 12, 2023
1a62997
refactor "rejects arbitrary expression in component helper" test
void-mAlex Jan 12, 2023
c21f6d1
refactor "ignores any non-string-literal in "helper" keyword" test
void-mAlex Jan 12, 2023
62eddd2
refactor "ignores any non-string-literal in "modifier" keyword" test
void-mAlex Jan 12, 2023
2e0e1f0
refactor "trusts inline ensure-safe-component helper" test
void-mAlex Jan 12, 2023
23cec32
skip failing tests when static flags true for modifier and helpers
void-mAlex Jan 24, 2023
aa40203
fix typo in test expectation
void-mAlex Jan 24, 2023
ca5d503
remove inner expects on code that is suppposed to throw anyway
void-mAlex Jan 24, 2023
3e71c01
preserve paths to alpha.js files and skip tests
void-mAlex Jan 24, 2023
8da44e8
Merge branch 'main' into upgrade-resolver-tests
ef4 Jan 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading