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

Problemas com os testes do componente Camera #124

Open
Rhuancpq opened this issue Nov 13, 2019 · 0 comments
Open

Problemas com os testes do componente Camera #124

Rhuancpq opened this issue Nov 13, 2019 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed MDS Task assigned to MDS technical Not meant for the end user.
Milestone

Comments

@Rhuancpq
Copy link
Collaborator

Rhuancpq commented Nov 13, 2019

Descreva o bug
Pelo que tudo indica o jest não consegue incluir o aframe, arjs e o aframe-gif-shader pela tag <script> então tentei instalar essas dependências pelo npm.

Como reproduzir
Importe as bibliotecas e instancie o componente vue local:
Vue.component('name', module);
esse comando serve pra registrar o componente corretamente que a partir daí as tags html passam a funcionar corretamente.

Comportamento obtido
Duas das bibliotecas sendo o aframe e aframe-gif-shader funcionaram mas ao incluir o modulo do ar.js obtém-se:

ERROR Failed to compile with 1 errors
This dependency was not found:
* WebAR in ./node_modules/ar.js/aframe/build/aframe-ar.js

Comportamento esperado
Espera-se que as bibliotecas possam ser incluídas como módulos

Informações adicionais
Pelo que tudo indica é um problema com o ar.js

@Rhuancpq Rhuancpq added bug Something isn't working help wanted Extra attention is needed MDS Task assigned to MDS technical Not meant for the end user. labels Nov 13, 2019
@eilimrib eilimrib added this to the Sprint 11 milestone Nov 16, 2019
@Rhuancpq Rhuancpq changed the title Testes no componente Camera Problemas com os testes do componente Camera Nov 20, 2019
@jlucassr jlucassr modified the milestones: Sprint 11, Sprint 12 Nov 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed MDS Task assigned to MDS technical Not meant for the end user.
Projects
None yet
Development

No branches or pull requests

9 participants