I deployed source to a scratch org, then ran some unit tests locally in the org.
Now when I do sfdx force:source:pull
I get:
ERROR running force:source:pull: Can't retrieve non-customizable CustomObject named: ApexTestResult.
Running sfdx force:source:status
gives:
Remote Add ApexTestResult CustomObject
Is there any way to get the pull to ignore this type? I tried everything I could think of with .forceignore
but nothing works.
Does this mean it is basically not supported to run unit tests locally in Scratch orgs?
EDIT: I suspect this may be related to the fact that I created a list view for the Apex Test Results in the scratch org. Haven't verified that yet -- I will create a new scratch org to check.