mirror of
https://github.com/chaijs/chai
synced 2024-11-14 15:57:10 +00:00
name change
This commit is contained in:
parent
1f7ffd64b6
commit
2fa2904b88
4 changed files with 17 additions and 17 deletions
2
index.js
2
index.js
|
@ -1 +1 @@
|
|||
module.exports = require('./lib/sherlock');
|
||||
module.exports = require('./lib/chai');
|
14
lib/chai.js
Normal file
14
lib/chai.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
var exports = module.exports = {};
|
||||
|
||||
exports.version = '0.0.1';
|
||||
|
||||
exports.expect = function (val, message) {
|
||||
return new exports.Assertion(val, message);
|
||||
};
|
||||
|
||||
exports.assert = require('./interface/assert');
|
||||
|
||||
|
||||
exports.Assertion = require('./assertion');
|
||||
exports.AssertionError = require('./error');
|
|
@ -1,14 +0,0 @@
|
|||
|
||||
var Assertion = require('./assertion')
|
||||
, exports = module.exports = {};
|
||||
|
||||
exports.version = '0.1.0';
|
||||
|
||||
exports.assert = function (actual, expect, message) {
|
||||
|
||||
};
|
||||
|
||||
exports.expect = function (actual, message) {
|
||||
var a = new Assertion(actual, message);
|
||||
return a;
|
||||
};
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"author": "Jake Luer <jake@alogicalparadox.com>",
|
||||
"name": "sherlock",
|
||||
"name": "chai",
|
||||
"description": "Assertion framework for node.js and the browser.",
|
||||
"version": "0.1.0",
|
||||
"version": "0.0.1",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@github.com:logicalparadox/sherlock.git"
|
||||
|
|
Loading…
Reference in a new issue