fix(mobile): component viewer in mobile web

This commit is contained in:
Mo
2022-07-07 13:08:52 -05:00
parent f484a2a920
commit d9014615f0
6 changed files with 8 additions and 6 deletions

View File

@@ -292,7 +292,7 @@ describe('featuresService', () => {
const component = nativeComponent()
const url = manager.urlForComponent(component)
const feature = FindNativeFeature(component.identifier) as FeatureDescription
expect(url).toEqual(`http://localhost/components/assets/${component.identifier}/${feature.index_path}`)
expect(url).toEqual(`components/assets/${component.identifier}/${feature.index_path}`)
})
it('returns hosted path for third party component', () => {