Skip to content

Commit

Permalink
Made some fixes for the test framework
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed Apr 21, 2015
1 parent 2d6c813 commit 48e1c1f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"licence": "MIT",
"main": "./index",
"scripts": {
"test": "mocha"
"test": "mocha",
"test:watch": "mocha -w"
},
"engines": {
"node": ">= 0.8"
Expand Down
2 changes: 1 addition & 1 deletion test/support/chai.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import chai = require('chai');
import chaiAsPromised = require('chai-as-promised');
import chaiFuzzy = require('chai-fuzzy');
import Promise = require('bluebird');
var chaiFuzzy = require('chai-fuzzy');

chai.use(chaiAsPromised);
chai.use(chaiFuzzy);
Expand Down
4 changes: 2 additions & 2 deletions typings/concoction/concoction.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ declare module Concoction {
* Creates an ingredient which renames an object's properties
* @param {Object} mapping A map from the original object names to the names you wish to use
*/
(mapping: { [key: string]: string }) : Ingredient;
new(mapping: { [key: string]: string }) : Ingredient;
}

export interface ConvertStatic {
/**
* Creates an ingredient which converts an object's properties from one form to another
* @param {Object} mapping A map of object properties to their conversion functions
*/
(mapping: { [key: string]: Ingredient }): Ingredient;
new(mapping: { [key: string]: Ingredient }): Ingredient;
}
}

0 comments on commit 48e1c1f

Please sign in to comment.