Skip to content

Commit 026bd0c

Browse files
committed
feat(espowerify): update espower-source to 0.8.0
1 parent 5cd253a commit 026bd0c

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@
3838
"url": "git://github.com/twada/espowerify.git"
3939
},
4040
"scripts": {
41-
"jshint": "./node_modules/.bin/jshint index.js",
42-
"test": "./node_modules/.bin/mocha"
41+
"jshint": "jshint index.js",
42+
"test": "mocha"
4343
},
4444
"dependencies": {
45-
"espower-source": "~0.7.3",
45+
"espower-source": "~0.8.0",
4646
"through": "~2.3.4"
4747
},
4848
"devDependencies": {
49-
"jshint": "~2.5.1",
50-
"mocha": "~1.20.1"
49+
"jshint": "~2.5.2",
50+
"mocha": "~1.21.4"
5151
},
5252
"engines": {
5353
"node": ">=0.8.0",

test/test.js

+5-9
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,11 @@ describe('espowerify with customized options', function() {
2929
var stream = espowerify(
3030
'test/fixtures/customized.js',
3131
{
32-
powerAssertVariableName: 'refute',
33-
targetMethods: {
34-
oneArg: [
35-
'isNull'
36-
],
37-
twoArgs: [
38-
'same'
39-
]
40-
}
32+
patterns: [
33+
'refute(actual, [message])',
34+
'refute.same(actual, expected, [message])',
35+
'refute.isNull(object, [message])'
36+
]
4137
});
4238

4339
it('should return a stream', function() {

0 commit comments

Comments
 (0)