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

Jest test problem #11

Open
leungyukshing opened this issue Jan 30, 2020 · 0 comments
Open

Jest test problem #11

leungyukshing opened this issue Jan 30, 2020 · 0 comments

Comments

@leungyukshing
Copy link

I ran into some problem when I ran unit test on my vue project. It seems that the recorderx cause that problem, but I'm not sure.

The output of my command line is:

SyntaxError: Unexpected token export

   6 |       <button id="btn-stop" v-on:click="stop">stop</button>
   7 |       <button id="btn-transform" v-on:click="voice2Text">voice2Text</button>
>  8 |     </div>
   9 |     <div id="result-box">
  10 |       Recognized Result: {{result}}
  11 |     </div>

  at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:316:17)
  at Object.<anonymous> (node_modules/recorderx/lib/index.js:7:39)
  at src/components/VoiceInput.vue:8:70
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant