name change

This commit is contained in:
Jake Luer 2011-12-07 00:25:52 -05:00
parent 1f7ffd64b6
commit 2fa2904b88
4 changed files with 17 additions and 17 deletions

View file

@ -1 +1 @@
module.exports = require('./lib/sherlock');
module.exports = require('./lib/chai');

14
lib/chai.js Normal file
View 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');

View file

@ -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;
};

View file

@ -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"