You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a token which has another token applied to one of its design keys =without 'as'
Merge into another token using asTOkenSpec
ER
All works.
AR
Error 'all tokens must be passed through asTokenSpec' when the nested token is applied
Root Cause
asTokenSpec uses lodash deep merge, which iterates through enumerable keys. [$TokenSpec is not enumerable, so it is stripped off the nested token.
Solution
Ensue nested tokens are. passed through as
Testing Scope
write a unit test to cover the case
descope testing of any functionality. will rely on build and test cases to for testing.
The text was updated successfully, but these errors were encountered:
STR
ER
All works.
AR
Error 'all tokens must be passed through asTokenSpec' when the nested token is applied
Root Cause
asTokenSpec uses lodash deep merge, which iterates through enumerable keys. [$TokenSpec is not enumerable, so it is stripped off the nested token.
Solution
Ensue nested tokens are. passed through as
Testing Scope
The text was updated successfully, but these errors were encountered: