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 |
|---|---|---|---|---|---|---|---|---|
10040350 | <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 | Finish split to smaller peaces. Added #containDeep, #containEql | 724 | .js | test | mit | shouldjs/should.js |
10040351 | <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... | 15 | Add generators support to util.forEach | 4 | .js | js | mit | shouldjs/should.js |
10040352 | <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... | 15 | Add generators support to util.forEach | 4 | .js | js | mit | shouldjs/should.js |
10040353 | <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")... | 5 | should is assert | 0 | .js | test | mit | shouldjs/should.js |
10040354 | <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")... | 5 | should is assert | 0 | .js | test | mit | shouldjs/should.js |
10040355 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 1 | Merge pull request #101 from pra85/patch-3 | 1 | .md | md | mit | shouldjs/should.js |
10040356 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 1 | Merge pull request #101 from pra85/patch-3 | 1 | .md | md | mit | shouldjs/should.js |
10040357 | <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... | 39 | Introduce assertions for each type as in Vows | 1 | .js | js | mit | shouldjs/should.js |
10040358 | <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... | 39 | Introduce assertions for each type as in Vows | 1 | .js | js | mit | shouldjs/should.js |
10040359 | <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")... | 61 | Merge branch 'keys' | 0 | .js | test | mit | shouldjs/should.js |
10040360 | <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")... | 61 | Merge branch 'keys' | 0 | .js | test | mit | shouldjs/should.js |
10040361 | <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")... | 1 | fix test case for 'should' not being installed | 1 | .js | test | mit | shouldjs/should.js |
10040362 | <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")... | 1 | fix test case for 'should' not being installed | 1 | .js | test | mit | shouldjs/should.js |
10040363 | <NME> should.js <BEF> /** * should - test framework agnostic BDD-style assertions * @version v4.0.4 * @author TJ Holowaychuk <tj@vision-media.ca> and contributors * @link https://github.com/shouldjs/should.js * @license MIT */ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else ... | 645 | Release 4.1.0 | 299 | .js | js | mit | shouldjs/should.js |
10040364 | <NME> should.js <BEF> /** * should - test framework agnostic BDD-style assertions * @version v4.0.4 * @author TJ Holowaychuk <tj@vision-media.ca> and contributors * @link https://github.com/shouldjs/should.js * @license MIT */ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else ... | 645 | Release 4.1.0 | 299 | .js | js | mit | shouldjs/should.js |
10040365 | <NME> should.js <BEF> (function(e){if("function"==typeof bootstrap)bootstrap("should",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeShould=e}else"undefined"!=typeof window?window.should=e():glob... | 10 | Release 2.1.0. | 3 | .js | js | mit | shouldjs/should.js |
10040366 | <NME> should.js <BEF> (function(e){if("function"==typeof bootstrap)bootstrap("should",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeShould=e}else"undefined"!=typeof window?window.should=e():glob... | 10 | Release 2.1.0. | 3 | .js | js | mit | shouldjs/should.js |
10040367 | <NME> string.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) {
/**
* Assert given string starts with prefix
* @name startWi... | 1 | Copy paste typo | 1 | .js | js | mit | shouldjs/should.js |
10040368 | <NME> string.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) {
/**
* Assert given string starts with prefix
* @name startWi... | 1 | Copy paste typo | 1 | .js | js | mit | shouldjs/should.js |
10040369 | <NME> type.test.js
<BEF> var err = require("../util").err;
var AssertionError = require("assert").AssertionError;
var util = require("util");
describe("type", function() {
it("test arguments", function() {
var args = (function() {
return arguments;
})(1, 2, 3);
args.should.be.arguments();
[].s... | 2 | Now nested assertion can contribute message for parent assertions | 2 | .js | test | mit | shouldjs/should.js |
10040370 | <NME> type.test.js
<BEF> var err = require("../util").err;
var AssertionError = require("assert").AssertionError;
var util = require("util");
describe("type", function() {
it("test arguments", function() {
var args = (function() {
return arguments;
})(1, 2, 3);
args.should.be.arguments();
[].s... | 2 | Now nested assertion can contribute message for parent assertions | 2 | .js | test | mit | shouldjs/should.js |
10040371 | <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... | 1 | Make it possible to override obj format. | 1 | .js | js | mit | shouldjs/should.js |
10040372 | <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... | 1 | Make it possible to override obj format. | 1 | .js | js | mit | shouldjs/should.js |
10040373 | <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 | cleanup | 4 | .js | js | mit | shouldjs/should.js |
10040374 | <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 | cleanup | 4 | .js | js | mit | shouldjs/should.js |
10040375 | <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");
... | 41 | Merge pull request #53 from nickdaugherty/add/matchAny | 1 | .js | test | mit | shouldjs/should.js |
10040376 | <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");
... | 41 | Merge pull request #53 from nickdaugherty/add/matchAny | 1 | .js | test | mit | shouldjs/should.js |
10040377 | <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... | 5 | add .type for eql()s assert | 2 | .js | js | mit | shouldjs/should.js |
10040378 | <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... | 5 | add .type for eql()s assert | 2 | .js | js | mit | shouldjs/should.js |
10040379 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v4.4.4 * @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: '... | 164 | Release 4.5.0 | 32 | .js | js | mit | shouldjs/should.js |
10040380 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v4.4.4 * @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: '... | 164 | Release 4.5.0 | 32 | .js | js | mit | shouldjs/should.js |
10040381 | <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 | Merge branch 'master' of github.com:shouldjs/should.js | 4 | .md | md | mit | shouldjs/should.js |
10040382 | <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 | Merge branch 'master' of github.com:shouldjs/should.js | 4 | .md | md | mit | shouldjs/should.js |
10040383 | <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")... | 15 | Merge branch 'nan-assertions' of https://github.com/ichernev/should.js into v2 | 0 | .js | test | mit | shouldjs/should.js |
10040384 | <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")... | 15 | Merge branch 'nan-assertions' of https://github.com/ichernev/should.js into v2 | 0 | .js | test | mit | shouldjs/should.js |
10040385 | <NME> Readme.md
<BEF> # should.js
[](https://travis-ci.org/shouldjs/core)
_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 cod... | 2 | Add badge for testling | 0 | .md | md | mit | shouldjs/should.js |
10040386 | <NME> Readme.md
<BEF> # should.js
[](https://travis-ci.org/shouldjs/core)
_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 cod... | 2 | Add badge for testling | 0 | .md | md | mit | shouldjs/should.js |
10040387 | <NME> util.js
<BEF> function err(fn, msg) {
if (arguments.length > 2) {
msg = Array.prototype.slice.call(arguments, 1).join("\n");
}
var ok = true;
try {
fn();
ok = false;
throw new should.AssertionError({
message: 'Expected message does not match',
expected: msg,
actu... | 3 | Fix failed test stack | 1 | .js | js | mit | shouldjs/should.js |
10040388 | <NME> util.js
<BEF> function err(fn, msg) {
if (arguments.length > 2) {
msg = Array.prototype.slice.call(arguments, 1).join("\n");
}
var ok = true;
try {
fn();
ok = false;
throw new should.AssertionError({
message: 'Expected message does not match',
expected: msg,
actu... | 3 | Fix failed test stack | 1 | .js | js | mit | shouldjs/should.js |
10040389 | <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")... | 1 | Merge pull request #56 from TooTallNate/valueOf | 1 | .js | test | mit | shouldjs/should.js |
10040390 | <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")... | 1 | Merge pull request #56 from TooTallNate/valueOf | 1 | .js | test | mit | shouldjs/should.js |
10040391 | <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")... | 15 | Added ok | 0 | .js | test | mit | shouldjs/should.js |
10040392 | <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")... | 15 | Added ok | 0 | .js | test | mit | shouldjs/should.js |
10040393 | <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 e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof ... | 53 | Missin global window exported name | 51 | .js | js | mit | shouldjs/should.js |
10040394 | <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 e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof ... | 53 | Missin global window exported name | 51 | .js | js | mit | shouldjs/should.js |
10040395 | <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... | 247 | Release 3.1.0 | 18 | .js | js | mit | shouldjs/should.js |
10040396 | <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... | 247 | Release 3.1.0 | 18 | .js | js | mit | shouldjs/should.js |
10040397 | <NME> nested.test.js
<BEF> var util = require("./util");
should.Assertion.add(
"_10",
should.Assertion.add('_10', function() {
this.params = {operator: 'to be a number 10'};
this.is.Number.and.equal(10);
}, true);
it('should throw when used last managed context', function() {
util.err(function() {
(11).s... | 5 | Experimental change to remove getter assertions | 5 | .js | test | mit | shouldjs/should.js |
10040398 | <NME> nested.test.js
<BEF> var util = require("./util");
should.Assertion.add(
"_10",
should.Assertion.add('_10', function() {
this.params = {operator: 'to be a number 10'};
this.is.Number.and.equal(10);
}, true);
it('should throw when used last managed context', function() {
util.err(function() {
(11).s... | 5 | Experimental change to remove getter assertions | 5 | .js | test | mit | shouldjs/should.js |
10040399 | <NME> rollup.config.js
<BEF> /*eslint-env node */
'use strict';
const nodeResolve = require('rollup-plugin-node-resolve');
const pkg = require('./package.json');
const banner = `/*!
* ${pkg.name} - ${pkg.description}
* @version v${pkg.version}
* @author ${pkg.author}
* @link ${pkg.homepage}
* @license ${pkg.lic... | 7 | Update tools | 7 | .js | config | mit | shouldjs/should.js |
10040400 | <NME> rollup.config.js
<BEF> /*eslint-env node */
'use strict';
const nodeResolve = require('rollup-plugin-node-resolve');
const pkg = require('./package.json');
const banner = `/*!
* ${pkg.name} - ${pkg.description}
* @version v${pkg.version}
* @author ${pkg.author}
* @link ${pkg.homepage}
* @license ${pkg.lic... | 7 | Update tools | 7 | .js | config | mit | shouldjs/should.js |
10040401 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 9 | Fix docs for browser build. | 0 | .md | md | mit | shouldjs/should.js |
10040402 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 9 | Fix docs for browser build. | 0 | .md | md | mit | shouldjs/should.js |
10040403 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v7.1.0 * @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: ... | 485 | Release 7.1.1 | 484 | .js | js | mit | shouldjs/should.js |
10040404 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v7.1.0 * @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: ... | 485 | Release 7.1.1 | 484 | .js | js | mit | shouldjs/should.js |
10040405 | <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")... | 11 | Misc refactoring | 2 | .js | test | mit | shouldjs/should.js |
10040406 | <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")... | 11 | Misc refactoring | 2 | .js | test | mit | shouldjs/should.js |
10040407 | <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... | 4 | Replaces assertIf name as it can lead to misunderstanding | 4 | .js | js | mit | shouldjs/should.js |
10040408 | <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... | 4 | Replaces assertIf name as it can lead to misunderstanding | 4 | .js | js | mit | shouldjs/should.js |
10040409 | <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... | 1 | Make include more strict, because .constructor is a conversion, but not a standard. | 1 | .js | js | mit | shouldjs/should.js |
10040410 | <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... | 1 | Make include more strict, because .constructor is a conversion, but not a standard. | 1 | .js | js | mit | shouldjs/should.js |
10040411 | <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";
* Module dependencies.
*/
var util = require('sys')
, http = require('http')
,... | 1 | sys -> util | 1 | .js | js | mit | shouldjs/should.js |
10040412 | <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";
* Module dependencies.
*/
var util = require('sys')
, http = require('http')
,... | 1 | sys -> util | 1 | .js | js | mit | shouldjs/should.js |
10040413 | <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")... | 150 | Merge pull request #34 from theycallmeswift/master | 0 | .js | test | mit | shouldjs/should.js |
10040414 | <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")... | 150 | Merge pull request #34 from theycallmeswift/master | 0 | .js | test | mit | shouldjs/should.js |
10040415 | <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 | More tests | 0 | .js | test | mit | shouldjs/should.js |
10040416 | <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 | More tests | 0 | .js | test | mit | shouldjs/should.js |
10040417 | <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 |
10040418 | <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 |
10040419 | <NME> promise.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";
import { PromisedAssertion } from "../assertion";
export default functi... | 1 | Update promise.js | 0 | .js | js | mit | shouldjs/should.js |
10040420 | <NME> promise.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";
import { PromisedAssertion } from "../assertion";
export default functi... | 1 | Update promise.js | 0 | .js | js | mit | shouldjs/should.js |
10040421 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 2 | Fix doc for .keys. Closes #108. | 2 | .md | md | mit | shouldjs/should.js |
10040422 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 2 | Fix doc for .keys. Closes #108. | 2 | .md | md | mit | shouldjs/should.js |
10040423 | <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")... | 24 | Merge pull request #19 from lackac/master | 2 | .js | test | mit | shouldjs/should.js |
10040424 | <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")... | 24 | Merge pull request #19 from lackac/master | 2 | .js | test | mit | shouldjs/should.js |
10040425 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 1 | Fixed Readme | 1 | .md | md | mit | shouldjs/should.js |
10040426 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 1 | Fixed Readme | 1 | .md | md | mit | shouldjs/should.js |
10040427 | <NME> assertion.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 AssertionError from "./assertion-error";
import { merge } from "should-util";
// a bit hacky way how t... | 1 | Make assertion properties to be configurable | 1 | .js | js | mit | shouldjs/should.js |
10040428 | <NME> assertion.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 AssertionError from "./assertion-error";
import { merge } from "should-util";
// a bit hacky way how t... | 1 | Make assertion properties to be configurable | 1 | .js | js | mit | shouldjs/should.js |
10040429 | <NME> .zuul.yml
<BEF> ui: mocha-bdd
browsers:
- name: chrome
version: 45..latest
- name: ie
version: 9..latest
- name: firefox
version: 40..latest
- name: safari
version: 6..latest
- name: safari
version: -2..latest
<MSG> Update .zuul.yml
<DFF> @@ -1,10 +1,10 @@
ui: mocha-bdd
browsers:
... | 2 | Update .zuul.yml | 2 | .yml | zuul | mit | shouldjs/should.js |
10040430 | <NME> .zuul.yml
<BEF> ui: mocha-bdd
browsers:
- name: chrome
version: 45..latest
- name: ie
version: 9..latest
- name: firefox
version: 40..latest
- name: safari
version: 6..latest
- name: safari
version: -2..latest
<MSG> Update .zuul.yml
<DFF> @@ -1,10 +1,10 @@
ui: mocha-bdd
browsers:
... | 2 | Update .zuul.yml | 2 | .yml | zuul | mit | shouldjs/should.js |
10040431 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 9 | Update Readme.md | 1 | .md | md | mit | shouldjs/should.js |
10040432 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 9 | Update Readme.md | 1 | .md | md | mit | shouldjs/should.js |
10040433 | <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... | 8 | add .showDiff | 3 | .js | js | mit | shouldjs/should.js |
10040434 | <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... | 8 | add .showDiff | 3 | .js | js | mit | shouldjs/should.js |
10040435 | <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... | 3 | Use in all assertions non getter form | 3 | .js | js | mit | shouldjs/should.js |
10040436 | <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... | 3 | Use in all assertions non getter form | 3 | .js | js | mit | shouldjs/should.js |
10040437 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v8.2.0 * @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: ... | 219 | Release 8.2.1 | 224 | .js | js | mit | shouldjs/should.js |
10040438 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v8.2.0 * @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: ... | 219 | Release 8.2.1 | 224 | .js | js | mit | shouldjs/should.js |
10040439 | <NME> perf.test.js
<BEF> var should = require('../');
it('should optimize not.equal for complex objects', function() {
function mockComplexObject(prefix, depth, width) {
if (depth <= 0) {
return 'value-' + prefix;
}
var obj = {};
for (var i = 0; i < width; i++) {
obj[prefix + depth + '_' ... | 13 | Move data generation out of test | 12 | .js | test | mit | shouldjs/should.js |
10040440 | <NME> perf.test.js
<BEF> var should = require('../');
it('should optimize not.equal for complex objects', function() {
function mockComplexObject(prefix, depth, width) {
if (depth <= 0) {
return 'value-' + prefix;
}
var obj = {};
for (var i = 0; i < width; i++) {
obj[prefix + depth + '_' ... | 13 | Move data generation out of test | 12 | .js | test | mit | shouldjs/should.js |
10040441 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v12.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... | 28 | Release 13.0.0 | 117 | .js | js | mit | shouldjs/should.js |
10040442 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v12.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... | 28 | Release 13.0.0 | 117 | .js | js | mit | shouldjs/should.js |
10040443 | <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 { format, formatProp, convertPropertyName, isIndexable, length } from '../util';
import eql from 'should... | 2 | Specify arguments more accurate | 2 | .js | js | mit | shouldjs/should.js |
10040444 | <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 { format, formatProp, convertPropertyName, isIndexable, length } from '../util';
import eql from 'should... | 2 | Specify arguments more accurate | 2 | .js | js | mit | shouldjs/should.js |
10040445 | <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 ... | 17 | Extract code specific for key-value and collection traversing to separate place. | 11 | .js | test | mit | shouldjs/should.js |
10040446 | <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 ... | 17 | Extract code specific for key-value and collection traversing to separate place. | 11 | .js | test | mit | shouldjs/should.js |
10040447 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v13.1.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.1.1 | 1 | .js | js | mit | shouldjs/should.js |
10040448 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v13.1.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.1.1 | 1 | .js | js | mit | shouldjs/should.js |
10040449 | <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 | Revert "add .type for eql()s assert" | 5 | .js | js | mit | shouldjs/should.js |