Search is not available for this dataset
id stringlengths 1 8 | text stringlengths 72 9.81M | addition_count int64 0 10k | commit_subject stringlengths 0 3.7k | deletion_count int64 0 8.43k | file_extension stringlengths 0 32 | lang stringlengths 1 94 | license stringclasses 10
values | repo_name stringlengths 9 59 |
|---|---|---|---|---|---|---|---|---|
10040850 | <NME> contain.test.js
<BEF> var err = require("../util").err;
describe("contain*", function() {
it("test containEql", function() {
"hello boy".should.containEql("boy");
[1, 2, 3].should.containEql(3);
[[1], [2], [3]].should.containEql([3]);
[[1], [2], [3, 4]].should.not.containEql([3]);
[{ a: "a"... | 4 | Fix #37 | 0 | .js | test | mit | shouldjs/should.js |
10040851 | <NME> util.js
<BEF> function err(fn, msg) {
if (arguments.length > 2) {
msg = Array.prototype.slice.call(arguments, 1).join("\n");
}
fn();
ok = false;
} catch (err) {
if(err.message !== msg)
throw new should.AssertionError({ message: 'Expected message does not match', expected: msg, actual:... | 6 | More descriptive errors | 2 | .js | js | mit | shouldjs/should.js |
10040852 | <NME> util.js
<BEF> function err(fn, msg) {
if (arguments.length > 2) {
msg = Array.prototype.slice.call(arguments, 1).join("\n");
}
fn();
ok = false;
} catch (err) {
if(err.message !== msg)
throw new should.AssertionError({ message: 'Expected message does not match', expected: msg, actual:... | 6 | More descriptive errors | 2 | .js | js | mit | shouldjs/should.js |
10040853 | <NME> should.js <BEF> /** * should - test framework agnostic BDD-style assertions * @version v3.3.2 * @author TJ Holowaychuk <tj@vision-media.ca> and contributors * @link https://github.com/shouldjs/should.js * @license MIT */ (function () { 'use strict'; var types = { NUMBER: 'number', UNDEFINED: 'undefined', STRING: ... | 191 | Release 4.0.0 | 108 | .js | js | mit | shouldjs/should.js |
10040854 | <NME> should.js <BEF> /** * should - test framework agnostic BDD-style assertions * @version v3.3.2 * @author TJ Holowaychuk <tj@vision-media.ca> and contributors * @link https://github.com/shouldjs/should.js * @license MIT */ (function () { 'use strict'; var types = { NUMBER: 'number', UNDEFINED: 'undefined', STRING: ... | 191 | Release 4.0.0 | 108 | .js | js | mit | shouldjs/should.js |
10040855 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 2 | Update example of #type | 2 | .md | md | mit | shouldjs/should.js |
10040856 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 2 | Update example of #type | 2 | .md | md | mit | shouldjs/should.js |
10040857 | <NME> match.test.js
<BEF> var err = require("../util").err;
describe("match", function() {
it("test string match(regexp)", function() {
"foobar".should.match(/^foo/);
"foobar".should.not.match(/^bar/);
err(function() {
"foobar".should.match(/^bar/i);
}, "expected 'foobar' to match /^bar/i");
... | 2 | Removed useless if | 2 | .js | test | mit | shouldjs/should.js |
10040858 | <NME> match.test.js
<BEF> var err = require("../util").err;
describe("match", function() {
it("test string match(regexp)", function() {
"foobar".should.match(/^foo/);
"foobar".should.not.match(/^bar/);
err(function() {
"foobar".should.match(/^bar/i);
}, "expected 'foobar' to match /^bar/i");
... | 2 | Removed useless if | 2 | .js | test | mit | shouldjs/should.js |
10040859 | <NME> should.js
<BEF>
/*!
* Should
* Copyright(c) 2010-2012 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { isWrapperType } from "... | 2 | Update lib/should.js | 3 | .js | js | mit | shouldjs/should.js |
10040860 | <NME> should.js
<BEF>
/*!
* Should
* Copyright(c) 2010-2012 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { isWrapperType } from "... | 2 | Update lib/should.js | 3 | .js | js | mit | shouldjs/should.js |
10040861 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 4 | Merge branch 'master' of github.com:visionmedia/should.js | 1 | .md | md | mit | shouldjs/should.js |
10040862 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 4 | Merge branch 'master' of github.com:visionmedia/should.js | 1 | .md | md | mit | shouldjs/should.js |
10040863 | <NME> type.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import { functionName } from "../util";
export default function(should, Assertion) {
/**
* Assert given objec... | 16 | Added check for zero argument assertions. It is better to throw something instead of silently fail | 6 | .js | js | mit | shouldjs/should.js |
10040864 | <NME> type.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import { functionName } from "../util";
export default function(should, Assertion) {
/**
* Assert given objec... | 16 | Added check for zero argument assertions. It is better to throw something instead of silently fail | 6 | .js | js | mit | shouldjs/should.js |
10040865 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v4.5.2 * @author TJ Holowaychuk <tj@vision-media.ca> and contributors * @link https://github.com/shouldjs/should.js * @license MIT */ (function () { 'use strict'; var types = { NUMBER: 'number', UNDEFINED: 'undefined', STRING: '... | 39 | Release 4.6.0 | 19 | .js | js | mit | shouldjs/should.js |
10040866 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v4.5.2 * @author TJ Holowaychuk <tj@vision-media.ca> and contributors * @link https://github.com/shouldjs/should.js * @license MIT */ (function () { 'use strict'; var types = { NUMBER: 'number', UNDEFINED: 'undefined', STRING: '... | 39 | Release 4.6.0 | 19 | .js | js | mit | shouldjs/should.js |
10040867 | <NME> History.md
<BEF> 7.0.0 / 2015-06-
==================
* Added support to .eql es6 set, map and symbol (should-type, should-format, should-equal)
* Breaking Change. More accurate work with types (dom nodes, typed-arrays).
* Breaking Change. Change result of should-type to be more accurate and consistent.
*... | 7 | Update History.md | 4 | .md | md | mit | shouldjs/should.js |
10040868 | <NME> History.md
<BEF> 7.0.0 / 2015-06-
==================
* Added support to .eql es6 set, map and symbol (should-type, should-format, should-equal)
* Breaking Change. More accurate work with types (dom nodes, typed-arrays).
* Breaking Change. Change result of should-type to be more accurate and consistent.
*... | 7 | Update History.md | 4 | .md | md | mit | shouldjs/should.js |
10040869 | <NME> chain.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
export default function(should, Assertion) {
/**
* Simple chaining. It actually do nothing.
*
* @member... | 1 | Merge pull request #131 from jakearchibald/patch-1 | 1 | .js | js | mit | shouldjs/should.js |
10040870 | <NME> chain.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
export default function(should, Assertion) {
/**
* Simple chaining. It actually do nothing.
*
* @member... | 1 | Merge pull request #131 from jakearchibald/patch-1 | 1 | .js | js | mit | shouldjs/should.js |
10040871 | <NME> Readme.md
<BEF> # should.js
_should_ is an expressive, readable, test framework agnostic, assertion library. Main goals of this library __to be expressive__ and __to be helpful__. It keeps your test code clean, and your error messages helpful.
It extends the `Object.prototype` with a single non-enumerable gette... | 2 | Remove node 0.8 from testing | 0 | .md | md | mit | shouldjs/should.js |
10040872 | <NME> Readme.md
<BEF> # should.js
_should_ is an expressive, readable, test framework agnostic, assertion library. Main goals of this library __to be expressive__ and __to be helpful__. It keeps your test code clean, and your error messages helpful.
It extends the `Object.prototype` with a single non-enumerable gette... | 2 | Remove node 0.8 from testing | 0 | .md | md | mit | shouldjs/should.js |
10040873 | <NME> property.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import { convertPropertyName } from "../util";
import { hasOwnProperty } from "should-util";
import { formatPro... | 3 | add examples for Assertion#keys | 1 | .js | js | mit | shouldjs/should.js |
10040874 | <NME> property.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import { convertPropertyName } from "../util";
import { hasOwnProperty } from "should-util";
import { formatPro... | 3 | add examples for Assertion#keys | 1 | .js | js | mit | shouldjs/should.js |
10040875 | <NME> should.test.js
<BEF> /**
* Module dependencies.
*/
var assert = require("assert");
describe("should", function() {
it("test assertion", function() {
"test".should.be.a.String;
should.equal("foo", "foo");
});
it("test .expected and .actual", function() {
try {
"foo".should.equal("bar")... | 18 | Added properties, to not inclusively check object properties on undefined. | 0 | .js | test | mit | shouldjs/should.js |
10040876 | <NME> should.test.js
<BEF> /**
* Module dependencies.
*/
var assert = require("assert");
describe("should", function() {
it("test assertion", function() {
"test".should.be.a.String;
should.equal("foo", "foo");
});
it("test .expected and .actual", function() {
try {
"foo".should.equal("bar")... | 18 | Added properties, to not inclusively check object properties on undefined. | 0 | .js | test | mit | shouldjs/should.js |
10040877 | <NME> should.d.ts
<BEF> // Type definitions for should.js
declare function should(obj: any): should.Assertion;
// node assert methods
/*interface NodeAssert {
fail(actual: any, expected: any, message?: string, operator?: string): void;
ok(value: any, message?: string): void;
equal(actual: any, expected: any, me... | 3 | Merge pull request #167 from lumaxis/bugfix/typescript-error | 3 | .ts | d | mit | shouldjs/should.js |
10040878 | <NME> should.d.ts
<BEF> // Type definitions for should.js
declare function should(obj: any): should.Assertion;
// node assert methods
/*interface NodeAssert {
fail(actual: any, expected: any, message?: string, operator?: string): void;
ok(value: any, message?: string): void;
equal(actual: any, expected: any, me... | 3 | Merge pull request #167 from lumaxis/bugfix/typescript-error | 3 | .ts | d | mit | shouldjs/should.js |
10040879 | <NME> .gitignore
<BEF> node_modules
.DS_Store
desktop.ini
.idea
should.js.for-tests
*.swp
cjs/
es6/
package-lock.json
/as-function.js
<MSG> Ignore annoying nam cruft
<DFF> @@ -4,3 +4,4 @@ desktop.ini
.idea
should.js.for-tests
*.swp
+npm-debug.log
| 1 | Ignore annoying nam cruft | 0 | gitignore | mit | shouldjs/should.js | |
10040880 | <NME> .gitignore
<BEF> node_modules
.DS_Store
desktop.ini
.idea
should.js.for-tests
*.swp
cjs/
es6/
package-lock.json
/as-function.js
<MSG> Ignore annoying nam cruft
<DFF> @@ -4,3 +4,4 @@ desktop.ini
.idea
should.js.for-tests
*.swp
+npm-debug.log
| 1 | Ignore annoying nam cruft | 0 | gitignore | mit | shouldjs/should.js | |
10040881 | <NME> should.test.js
<BEF> /**
* Module dependencies.
*/
var assert = require("assert");
describe("should", function() {
it("test assertion", function() {
"test".should.be.a.String;
should.equal("foo", "foo");
});
it("test .expected and .actual", function() {
try {
"foo".should.equal("bar")... | 13 | proposing a fallback of .instanceof to .instanceOf that will give an option for those who want to use `instanceOf` due a jshint running in strict mode. | 0 | .js | test | mit | shouldjs/should.js |
10040882 | <NME> should.test.js
<BEF> /**
* Module dependencies.
*/
var assert = require("assert");
describe("should", function() {
it("test assertion", function() {
"test".should.be.a.String;
should.equal("foo", "foo");
});
it("test .expected and .actual", function() {
try {
"foo".should.equal("bar")... | 13 | proposing a fallback of .instanceof to .instanceOf that will give an option for those who want to use `instanceOf` due a jshint running in strict mode. | 0 | .js | test | mit | shouldjs/should.js |
10040883 | <NME> should.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { i... | 13 | Merge pull request #86 from titarenko/master | 0 | .js | js | mit | shouldjs/should.js |
10040884 | <NME> should.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { i... | 13 | Merge pull request #86 from titarenko/master | 0 | .js | js | mit | shouldjs/should.js |
10040885 | <NME> should.d.ts
<BEF> // Type definitions for should.js
declare function should(obj: any): should.Assertion;
// node assert methods
/*interface NodeAssert {
fail(actual: any, expected: any, message?: string, operator?: string): void;
ok(value: any, message?: string): void;
equal(actual: any, expected: any, me... | 1 | chore: should has no default export | 1 | .ts | d | mit | shouldjs/should.js |
10040886 | <NME> should.d.ts
<BEF> // Type definitions for should.js
declare function should(obj: any): should.Assertion;
// node assert methods
/*interface NodeAssert {
fail(actual: any, expected: any, message?: string, operator?: string): void;
ok(value: any, message?: string): void;
equal(actual: any, expected: any, me... | 1 | chore: should has no default export | 1 | .ts | d | mit | shouldjs/should.js |
10040887 | <NME> .travis.yml
<BEF> language: node_js
node_js:
- '0.10'
script:
- npm test
- test $SAUCE_USERNAME && npm run zuul || echo 'not running on saucelabs'
env:
global:
- secure: aB4+vAj+mJHqQfnq9x10eZ5//erfxecs3l9u/oSJX1Ok+WLrpUW0x3qpaC1bEEPq4bkAuIifxohnPv0XTE3m8GyTfRHzqmeNnNQNsnex3IzunbU4aG7QyS3jFa6gjT5OrgPA+eHobNXB... | 1 | Update .travis.yml | 1 | .yml | travis | mit | shouldjs/should.js |
10040888 | <NME> .travis.yml
<BEF> language: node_js
node_js:
- '0.10'
script:
- npm test
- test $SAUCE_USERNAME && npm run zuul || echo 'not running on saucelabs'
env:
global:
- secure: aB4+vAj+mJHqQfnq9x10eZ5//erfxecs3l9u/oSJX1Ok+WLrpUW0x3qpaC1bEEPq4bkAuIifxohnPv0XTE3m8GyTfRHzqmeNnNQNsnex3IzunbU4aG7QyS3jFa6gjT5OrgPA+eHobNXB... | 1 | Update .travis.yml | 1 | .yml | travis | mit | shouldjs/should.js |
10040889 | <NME> property.test.js
<BEF> var err = require("../util").err;
describe("property", function() {
it("test property(name)", function() {
"test".should.have.property("length");
(4).should.not.have.property("length");
err(function() {
"asd".should.have.property("foo");
}, "expected 'asd' to have ... | 1 | Update should dependencies - bring new inspections with type detection | 1 | .js | test | mit | shouldjs/should.js |
10040890 | <NME> property.test.js
<BEF> var err = require("../util").err;
describe("property", function() {
it("test property(name)", function() {
"test".should.have.property("length");
(4).should.not.have.property("length");
err(function() {
"asd".should.have.property("foo");
}, "expected 'asd' to have ... | 1 | Update should dependencies - bring new inspections with type detection | 1 | .js | test | mit | shouldjs/should.js |
10040891 | <NME> chain.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
*
* @memberOf Assertion
* @name be
* @property be
* @alias Assertion#an
* @alias Assertion#of
* @alias Assertion#a
*
* @memberOf Assertion
* @name be
* @property {shoul... | 1 | Update chain.js | 1 | .js | js | mit | shouldjs/should.js |
10040892 | <NME> chain.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
*
* @memberOf Assertion
* @name be
* @property be
* @alias Assertion#an
* @alias Assertion#of
* @alias Assertion#a
*
* @memberOf Assertion
* @name be
* @property {shoul... | 1 | Update chain.js | 1 | .js | js | mit | shouldjs/should.js |
10040893 | <NME> should.test.js
<BEF> /**
* Module dependencies.
*/
var assert = require("assert");
describe("should", function() {
it("test assertion", function() {
"test".should.be.a.String;
should.equal("foo", "foo");
});
it("test .expected and .actual", function() {
try {
"foo".should.equal("bar")... | 8 | Add possibility to use instanceof with primitive types, by wrapping it with Object function | 0 | .js | test | mit | shouldjs/should.js |
10040894 | <NME> should.test.js
<BEF> /**
* Module dependencies.
*/
var assert = require("assert");
describe("should", function() {
it("test assertion", function() {
"test".should.be.a.String;
should.equal("foo", "foo");
});
it("test .expected and .actual", function() {
try {
"foo".should.equal("bar")... | 8 | Add possibility to use instanceof with primitive types, by wrapping it with Object function | 0 | .js | test | mit | shouldjs/should.js |
10040895 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v13.2.3 * @author TJ Holowaychuk <tj@vision-media.ca>, Denis Bardadym <bardadymchik@gmail.com> * @link https://github.com/shouldjs/should.js * @license MIT */ (function () { 'use strict'; var types = { NUMBER: 'number', UNDEFIN... | 3 | Merge branch 'master' of github.com:visionmedia/should.js | 3 | .js | js | mit | shouldjs/should.js |
10040896 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v13.2.3 * @author TJ Holowaychuk <tj@vision-media.ca>, Denis Bardadym <bardadymchik@gmail.com> * @link https://github.com/shouldjs/should.js * @license MIT */ (function () { 'use strict'; var types = { NUMBER: 'number', UNDEFIN... | 3 | Merge branch 'master' of github.com:visionmedia/should.js | 3 | .js | js | mit | shouldjs/should.js |
10040897 | <NME> should.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { i... | 2 | Make all assertion methods enumerable | 2 | .js | js | mit | shouldjs/should.js |
10040898 | <NME> should.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { i... | 2 | Make all assertion methods enumerable | 2 | .js | js | mit | shouldjs/should.js |
10040899 | <NME> History.md
<BEF> 5.0.0 / 2015-02-09
==================
* Remove old .eql implementation
# 13.2.2 / 2018-07-26
* Updates for TS definition
# 13.2.1 / 2018-01-12
* Fix `.size` to work with should/as-function
# 13.2.0 / 2017-12-27
* Update type adaptors to allow to use Set as iterable everywhere
# 13.1.3 / 2... | 1 | Update History.md | 1 | .md | md | mit | shouldjs/should.js |
10040900 | <NME> History.md
<BEF> 5.0.0 / 2015-02-09
==================
* Remove old .eql implementation
# 13.2.2 / 2018-07-26
* Updates for TS definition
# 13.2.1 / 2018-01-12
* Fix `.size` to work with should/as-function
# 13.2.0 / 2017-12-27
* Update type adaptors to allow to use Set as iterable everywhere
# 13.1.3 / 2... | 1 | Update History.md | 1 | .md | md | mit | shouldjs/should.js |
10040901 | <NME> should.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { i... | 3 | Merge pull request #61 from thoradam/master | 3 | .js | js | mit | shouldjs/should.js |
10040902 | <NME> should.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { i... | 3 | Merge pull request #61 from thoradam/master | 3 | .js | js | mit | shouldjs/should.js |
10040903 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v13.2.3 * @author TJ Holowaychuk <tj@vision-media.ca>, Denis Bardadym <bardadymchik@gmail.com> * @link https://github.com/shouldjs/should.js * @license MIT */ (function () { 'use strict'; var types = { NUMBER: 'number', UNDEFIN... | 2 | Correct build | 2 | .js | js | mit | shouldjs/should.js |
10040904 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v13.2.3 * @author TJ Holowaychuk <tj@vision-media.ca>, Denis Bardadym <bardadymchik@gmail.com> * @link https://github.com/shouldjs/should.js * @license MIT */ (function () { 'use strict'; var types = { NUMBER: 'number', UNDEFIN... | 2 | Correct build | 2 | .js | js | mit | shouldjs/should.js |
10040905 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 1 | Update Readme.md | 1 | .md | md | mit | shouldjs/should.js |
10040906 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 1 | Update Readme.md | 1 | .md | md | mit | shouldjs/should.js |
10040907 | <NME> should.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { i... | 12 | Fool check | 9 | .js | js | mit | shouldjs/should.js |
10040908 | <NME> should.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { i... | 12 | Fool check | 9 | .js | js | mit | shouldjs/should.js |
10040909 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v8.3.0 * @author TJ Holowaychuk <tj@vision-media.ca>, Denis Bardadym <bardadymchik@gmail.com> and other contributors * @link https://github.com/shouldjs/should.js * @license MIT */ (function e(t,n,r){function s(o,u){if(!n[o]){i... | 99 | Release 8.3.1 | 84 | .js | js | mit | shouldjs/should.js |
10040910 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v8.3.0 * @author TJ Holowaychuk <tj@vision-media.ca>, Denis Bardadym <bardadymchik@gmail.com> and other contributors * @link https://github.com/shouldjs/should.js * @license MIT */ (function e(t,n,r){function s(o,u){if(!n[o]){i... | 99 | Release 8.3.1 | 84 | .js | js | mit | shouldjs/should.js |
10040911 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v8.1.0 * @author TJ Holowaychuk <tj@vision-media.ca> and contributors * @link https://github.com/shouldjs/should.js * @license MIT */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}el... | 3 | Release 8.1.1 | 4 | .js | js | mit | shouldjs/should.js |
10040912 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v8.1.0 * @author TJ Holowaychuk <tj@vision-media.ca> and contributors * @link https://github.com/shouldjs/should.js * @license MIT */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}el... | 3 | Release 8.1.1 | 4 | .js | js | mit | shouldjs/should.js |
10040913 | <NME> should.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { i... | 124 | Merge branch 'master' of https://github.com/betable/should.js into v2 | 71 | .js | js | mit | shouldjs/should.js |
10040914 | <NME> should.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { i... | 124 | Merge branch 'master' of https://github.com/betable/should.js into v2 | 71 | .js | js | mit | shouldjs/should.js |
10040915 | <NME> type.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import { functionName } from "../util";
export default function(should, Assertion) {
/**
* Assert given objec... | 7 | Correct docs | 6 | .js | js | mit | shouldjs/should.js |
10040916 | <NME> type.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import { functionName } from "../util";
export default function(should, Assertion) {
/**
* Assert given objec... | 7 | Correct docs | 6 | .js | js | mit | shouldjs/should.js |
10040917 | <NME> contain.test.js
<BEF> var err = require("../util").err;
describe("contain*", function() {
it("test containEql", function() {
"hello boy".should.containEql("boy");
[1, 2, 3].should.containEql(3);
[[1], [2], [3]].should.containEql([3]);
[[1], [2], [3, 4]].should.not.containEql([3]);
[{ a: "a"... | 2 | Fix bug in containDeep | 0 | .js | test | mit | shouldjs/should.js |
10040918 | <NME> contain.test.js
<BEF> var err = require("../util").err;
describe("contain*", function() {
it("test containEql", function() {
"hello boy".should.containEql("boy");
[1, 2, 3].should.containEql(3);
[[1], [2], [3]].should.containEql([3]);
[[1], [2], [3, 4]].should.not.containEql([3]);
[{ a: "a"... | 2 | Fix bug in containDeep | 0 | .js | test | mit | shouldjs/should.js |
10040919 | <NME> should.d.ts
<BEF> // Type definitions for should.js
declare function should(obj: any): should.Assertion;
// node assert methods
/*interface NodeAssert {
fail(actual: any, expected: any, message?: string, operator?: string): void;
ok(value: any, message?: string): void;
equal(actual: any, expected: any, me... | 1 | Revert typings to use = instead of default export. Fixes #155 | 1 | .ts | d | mit | shouldjs/should.js |
10040920 | <NME> should.d.ts
<BEF> // Type definitions for should.js
declare function should(obj: any): should.Assertion;
// node assert methods
/*interface NodeAssert {
fail(actual: any, expected: any, message?: string, operator?: string): void;
ok(value: any, message?: string): void;
equal(actual: any, expected: any, me... | 1 | Revert typings to use = instead of default export. Fixes #155 | 1 | .ts | d | mit | shouldjs/should.js |
10040921 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v13.0.0 * @author TJ Holowaychuk <tj@vision-media.ca>, Denis Bardadym <bardadymchik@gmail.com> * @link https://github.com/shouldjs/should.js * @license MIT */ (function () { 'use strict'; var types = { NUMBER: 'number', UNDEFIN... | 1 | Release 13.0.1 | 1 | .js | js | mit | shouldjs/should.js |
10040922 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v13.0.0 * @author TJ Holowaychuk <tj@vision-media.ca>, Denis Bardadym <bardadymchik@gmail.com> * @link https://github.com/shouldjs/should.js * @license MIT */ (function () { 'use strict'; var types = { NUMBER: 'number', UNDEFIN... | 1 | Release 13.0.1 | 1 | .js | js | mit | shouldjs/should.js |
10040923 | <NME> CONTRIBUTING.md
<BEF> Before contribute something:
Follow simple rules:
- Not violate [DRY](http://programmer.97things.oreilly.com/wiki/index.php/Don%27t_Repeat_Yourself).
- [Boy Scout Rule](http://programmer.97things.oreilly.com/wiki/index.php/The_Boy_Scout_Rule) needs to have been applied.
5. If you are not s... | 0 | Update CONTRIBUTING.md | 1 | .md | md | mit | shouldjs/should.js |
10040924 | <NME> CONTRIBUTING.md
<BEF> Before contribute something:
Follow simple rules:
- Not violate [DRY](http://programmer.97things.oreilly.com/wiki/index.php/Don%27t_Repeat_Yourself).
- [Boy Scout Rule](http://programmer.97things.oreilly.com/wiki/index.php/The_Boy_Scout_Rule) needs to have been applied.
5. If you are not s... | 0 | Update CONTRIBUTING.md | 1 | .md | md | mit | shouldjs/should.js |
10040925 | <NME> match.test.js
<BEF> var err = require('../util').err;
require('../../');
describe('match', function() {
"foobar".should.not.match(/^bar/);
err(function() {
"foobar".should.match(/^bar/i);
}, "expected 'foobar' to match /^bar/i");
err(function() {
"foobar".should.not.match(/^foo/i);... | 3 | Fix .match(RegExp) for everything not supported | 1 | .js | test | mit | shouldjs/should.js |
10040926 | <NME> match.test.js
<BEF> var err = require('../util').err;
require('../../');
describe('match', function() {
"foobar".should.not.match(/^bar/);
err(function() {
"foobar".should.match(/^bar/i);
}, "expected 'foobar' to match /^bar/i");
err(function() {
"foobar".should.not.match(/^foo/i);... | 3 | Fix .match(RegExp) for everything not supported | 1 | .js | test | mit | shouldjs/should.js |
10040927 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 2 | Correct minor grammatical errors in Readme. | 2 | .md | md | mit | shouldjs/should.js |
10040928 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 2 | Correct minor grammatical errors in Readme. | 2 | .md | md | mit | shouldjs/should.js |
10040929 | <NME> should.test.js
<BEF> /**
* Module dependencies.
*/
var assert = require("assert");
describe("should", function() {
it("test assertion", function() {
"test".should.be.a.String;
should.equal("foo", "foo");
});
it("test .expected and .actual", function() {
try {
"foo".should.equal("bar")... | 3 | Fixed .equal() with dates. Closes #63 | 0 | .js | test | mit | shouldjs/should.js |
10040930 | <NME> should.test.js
<BEF> /**
* Module dependencies.
*/
var assert = require("assert");
describe("should", function() {
it("test assertion", function() {
"test".should.be.a.String;
should.equal("foo", "foo");
});
it("test .expected and .actual", function() {
try {
"foo".should.equal("bar")... | 3 | Fixed .equal() with dates. Closes #63 | 0 | .js | test | mit | shouldjs/should.js |
10040931 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v4.5.1 * @author TJ Holowaychuk <tj@vision-media.ca> and contributors * @link https://github.com/shouldjs/should.js * @license MIT */ (function () { 'use strict'; var types = { NUMBER: 'number', UNDEFINED: 'undefined', STRING: '... | 5 | Release 4.5.2 | 5 | .js | js | mit | shouldjs/should.js |
10040932 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v4.5.1 * @author TJ Holowaychuk <tj@vision-media.ca> and contributors * @link https://github.com/shouldjs/should.js * @license MIT */ (function () { 'use strict'; var types = { NUMBER: 'number', UNDEFINED: 'undefined', STRING: '... | 5 | Release 4.5.2 | 5 | .js | js | mit | shouldjs/should.js |
10040933 | <NME> should.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { i... | 2 | Small corrections | 2 | .js | js | mit | shouldjs/should.js |
10040934 | <NME> should.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { i... | 2 | Small corrections | 2 | .js | js | mit | shouldjs/should.js |
10040935 | <NME> should.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { i... | 31 | Removed extra parentheses. | 31 | .js | js | mit | shouldjs/should.js |
10040936 | <NME> should.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { i... | 31 | Removed extra parentheses. | 31 | .js | js | mit | shouldjs/should.js |
10040937 | <NME> should.js <BEF> ADDFILE <MSG> Make normal browser version. Copy part of http module, to do not have huge browser package. <DFF> @@ -0,0 +1,2331 @@ +(function(e){if("function"==typeof bootstrap)bootstrap("should",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)d... | 2,331 | Make normal browser version. Copy part of http module, to do not have huge browser package. | 0 | .js | js | mit | shouldjs/should.js |
10040938 | <NME> should.js <BEF> ADDFILE <MSG> Make normal browser version. Copy part of http module, to do not have huge browser package. <DFF> @@ -0,0 +1,2331 @@ +(function(e){if("function"==typeof bootstrap)bootstrap("should",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)d... | 2,331 | Make normal browser version. Copy part of http module, to do not have huge browser package. | 0 | .js | js | mit | shouldjs/should.js |
10040939 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 1 | Merge branch 'master' of github.com:visionmedia/should.js | 1 | .md | md | mit | shouldjs/should.js |
10040940 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 1 | Merge branch 'master' of github.com:visionmedia/should.js | 1 | .md | md | mit | shouldjs/should.js |
10040941 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 63 | Updated readme and history for new changes. Fix #13 and visionmedia/should.js#214 | 0 | .md | md | mit | shouldjs/should.js |
10040942 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 63 | Updated readme and history for new changes. Fix #13 and visionmedia/should.js#214 | 0 | .md | md | mit | shouldjs/should.js |
10040943 | <NME> chain.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
export default function(should, Assertion) {
/**
* Simple chaining to improve readability. Does nothing.
*... | 2 | Merge branch 'master' of github.com:shouldjs/should.js | 1 | .js | js | mit | shouldjs/should.js |
10040944 | <NME> chain.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
export default function(should, Assertion) {
/**
* Simple chaining to improve readability. Does nothing.
*... | 2 | Merge branch 'master' of github.com:shouldjs/should.js | 1 | .js | js | mit | shouldjs/should.js |
10040945 | <NME> .zuul.yml
<BEF> ui: mocha-bdd
browsers:
- name: chrome
version: 38..latest
- name: ie
version: 9..latest
- name: firefox
version: 33..latest
- name: safari
version: 6..latest
- name: safari
version: -2..latest
<MSG> Update .zuul.yml
<DFF> @@ -1,10 +1,10 @@
ui: mocha-bdd
browsers:
... | 3 | Update .zuul.yml | 3 | .yml | zuul | mit | shouldjs/should.js |
10040946 | <NME> .zuul.yml
<BEF> ui: mocha-bdd
browsers:
- name: chrome
version: 38..latest
- name: ie
version: 9..latest
- name: firefox
version: 33..latest
- name: safari
version: 6..latest
- name: safari
version: -2..latest
<MSG> Update .zuul.yml
<DFF> @@ -1,10 +1,10 @@
ui: mocha-bdd
browsers:
... | 3 | Update .zuul.yml | 3 | .yml | zuul | mit | shouldjs/should.js |
10040947 | <NME> should.test.js
<BEF> /**
* Module dependencies.
*/
var assert = require("assert");
describe("should", function() {
it("test assertion", function() {
"test".should.be.a.String;
should.equal("foo", "foo");
});
it("test .expected and .actual", function() {
try {
}
}
module.exports = {
'te... | 1 | Set suite names | 1 | .js | test | mit | shouldjs/should.js |
10040948 | <NME> should.test.js
<BEF> /**
* Module dependencies.
*/
var assert = require("assert");
describe("should", function() {
it("test assertion", function() {
"test".should.be.a.String;
should.equal("foo", "foo");
});
it("test .expected and .actual", function() {
try {
}
}
module.exports = {
'te... | 1 | Set suite names | 1 | .js | test | mit | shouldjs/should.js |
10040949 | <NME> util.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import sformat from "should-format";
export function isWrapperType(obj) {
return obj instanceof Number || obj ins... | 1 | Deal with assert module more accurately | 1 | .js | js | mit | shouldjs/should.js |