Coder Social home page Coder Social logo

co-mocha's People

Contributors

adomokos avatar aheckmann avatar antoviaque avatar avaly avatar brendannee avatar domenic avatar dump247 avatar fool2fish avatar forbeslindesay avatar fredr avatar haru01 avatar hokaccha avatar iammerrick avatar ilkkao avatar jamescarr avatar jfirebaugh avatar jkrall avatar jldailey avatar joliss avatar jugglinmike avatar nathanbowser avatar paulmillr avatar rauchg avatar raynos avatar sindresorhus avatar tj avatar tootallnate avatar travisjeffery avatar tricknotes avatar tysonmote avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

co-mocha's Issues

mistype. extra comma

/node_modules/mocha-co/lib/runnable.js:9
  , co = require('co');
  ^
SyntaxError: Unexpected token ,

latest package from npm.js. version 1.17.1

Coffee tests don't work

There seems to be a conflict in coffee-script tests.

There's one issue not specific to mocha-co but worth being aware of because it complicates things, which is that Coffee will automatically compile functions containing yield into generators - that also breaks the block scope for tests, because it doesn't use a fat arrow. So the @ (this) which would otherwise provide a consistent scope between forEach and it functions is no longer available.

The main problem I've found is that if there's an error in the generator, or even a console log, neither will make it back up to mocha or output in test results. They just seem to be suppressed within the function, so I've found after hours of testing that some predicate tests were actually failing silently, even though they appeared to pass.

Package install failing with Yarn due to non-semver compliant versioning

Hi,

The semver spec specifies that stuff after a hyphen is a prerelease version:

A pre-release version MAY be denoted by appending a hyphen and a series of dot separated identifiers immediately following the patch version
Precedence refers to how versions are compared to each other when ordered. [...] When major, minor, and patch are equal, a pre-release version has lower precedence than a normal version. Example: 1.0.0-alpha < 1.0.0

Because of this, when trying to install gulp-co-mocha with yarn, as the dependency to this module is defined as ^1.17.1-co.1, it ends up resolving to 1.17.1 which is a broken build, because it considers ^1.17.1-co.1 a pre-release due to the hyphen.

Is it possible to release the current build as 1.17.2 in order to ask the maintainer of gulp-co-mocha to fix it on their layer too?

PS: Before i came here i created an issue on yarn's repo yarnpkg/yarn#1545

Cheers!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.