You need to sign in to do that
Don't have an account?
Jeff Garbers - PROD
Can't build package version - lts_jasmineRunner not found?
I have some Jasmine tests in a Lightning project. The test app includes the line
When I went to build a package version, I got the error
ERROR: LexNewTeamTestApp: No COMPONENT named markup://c:lts_jasmineRunner found : [markup://c:LexNewTeamTestApp].
I used the command sfdx:force:lightning:test:install to install the LTS components into my scratch org. From the developer console, when I use FIle > Open Lightning Resources, lts_jasmineRunner does appear in the list. I am able to run sfdx:force:lightning:test:run to run the tests successfully. But I've tried doing the package version creation in two different projects, and both give this error.
I can work around the problem for now by commenting out the lts_jasmineRunner element in my test app, but that doesn't seem like it should be necessary. Can anyone help me understand what's going on and provide a better fix? Thanks in advance!
<c:lts_jasmineRunner testFiles="{!$Resource.lexNewTeamTestSuite}" />
ERROR: LexNewTeamTestApp: No COMPONENT named markup://c:lts_jasmineRunner found : [markup://c:LexNewTeamTestApp].
I used the command sfdx:force:lightning:test:install to install the LTS components into my scratch org. From the developer console, when I use FIle > Open Lightning Resources, lts_jasmineRunner does appear in the list. I am able to run sfdx:force:lightning:test:run to run the tests successfully. But I've tried doing the package version creation in two different projects, and both give this error.
I can work around the problem for now by commenting out the lts_jasmineRunner element in my test app, but that doesn't seem like it should be necessary. Can anyone help me understand what's going on and provide a better fix? Thanks in advance!