Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Existing ava unit tests are broken - GetPlatforms #12

@shalinijoshi19

Description

@shalinijoshi19

Once issue # openT2T/translators#129 is fixed only 1 of the 4 tests fails still with this error:

  1. GetPlatforms

t.truthy(platforms)
?
?
SyntaxError: Unexpected token (1:6)

If you are using babel-plugin-espower and want to use experimental syntax in your assert(), you should set embedAst option to true.
see: https://github.com/power-assert-js/babel-plugin-espower#optionsembedast

  _callee4$ (hubController.js:46:7)
tryCatch (node_modules/regenerator-runtime/runtime.js:63:40)
GeneratorFunctionPrototype.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:337:22)
GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:96:21)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions