Skip to content

Tests simplification: use promises, generators and template strings #59

Open
@julienw

Description

@julienw

In many tests (eg test_auth_api.js) we have:

  • string concatenation
  • callback-based tests (with mocha's done)
  • asynchronous code using promises or (worse !) callbacks

We can make them more readable using (respectively) template strings, promises and generators (using co-mocha).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions