Giter VIP home page Giter VIP logo

chai-changes's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently working on a webbased graphical adventure game engine. Github
  • ๐Ÿ”ญ Iโ€™m currently working on Geppetto v2. Github

๐Ÿ Personal projects I'm proud of:

๐ŸŒฒ Geppetto: An electron app to create WebGL Animations, and a player for web. Website, App (search for geppetto), PWA (in development), Npm package
Repo of app, Repo of player

๐Ÿš€ Speedlazer: A webbased 2d shooter game. Github, Play Play Sinterklaas Edition Proud about: GameController support. First WebGL Game with own shaders, own textures, own particle engine.

๐Ÿ“– Koerier van de koning: A dutch webbased text adventure. Github, Play Proud about: Writing the stories and defining the puzzles. I really love the story and puzzles of this one.

๐ŸŽ Sinterklaas: A dutch graphical point and click adventure. Github, Play
Proud about: Building the game engine from scratch. Doing all the drawings. Finishing the project on time!

๐ŸŽ Tristamon: A dutch turn based game. Github, Play
Proud about: Building the game engine from scratch. Doing all the drawings, animating it with Geppetto, creating the combat engine. Finishing the project on time!

๐Ÿ“Š Ebnf 2 Railroad: A nice tool to produce beautiful documentation from EBNF definitions. Github, Try Online
Proud about: Writing a parser using Jison, creating all kinds of cool AST optimizations, creating an ASCII version of railroad Github

Other work:

chai-changes's People

Contributors

matthijsgroen avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

Forkers

valscion rso

chai-changes's Issues

Causes problem with standard chai have.length(x) expectation ?

When I enable chai-changes as follows:

chai = require("chai")
chai.use require("chai-as-promised")
chai.use require("chai-changes")
expect = chai.expect

And use the following code in my test:
expect(Trade.get_trades(new Date(2014, 8, 14, 9, 24, 0))).to.eventually.have.length(10).notify done

This causes the following error:
TypeError: Property 'length' of object [object Function] is not a function

When I disable chai-changes it works again.

What is causing this behavior?

support promises returned from expect callback

it would be cool if you could do this

function promiseFactory() {
    return new Promise(...)
}

expect(promiseFactory).to.change.when(cb)

I would like to use this pattern to chain then clauses in expect e.g.

expect(()=>promiseFactory().then(v=>v.subProperty)).to.change.when(cb)

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.