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 |
|---|---|---|---|---|---|---|---|---|
10041050 | <NME> History.md
<BEF>
1.3.0 / 2013-09-13
==================
# 13.2.0 / 2017-12-27
* Update type adaptors to allow to use Set as iterable everywhere
# 13.1.3 / 2017-10-28
* Fix weird bug in `.containDeep` when given object is string (see \#157)
# 13.1.2 / 2017-10-10
* Revert default export in TS definition (adde... | 9 | Fill history. | 0 | .md | md | mit | shouldjs/should.js |
10041051 | <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")... | 4 | .ownProperty() should return assertion for property | 0 | .js | test | mit | shouldjs/should.js |
10041052 | <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")... | 4 | .ownProperty() should return assertion for property | 0 | .js | test | mit | shouldjs/should.js |
10041053 | <NME> util.js
<BEF> var should = require('../');
function err(fn, msg) {
var ok = true;
try {
fn();
if (
(typeof msg == "string" && err.message !== msg) ||
(msg instanceof RegExp && !msg.test(err.message))
) {
throw new should.AssertionError({
message: [
"Expected me... | 4 | First update for future release. | 0 | .js | js | mit | shouldjs/should.js |
10041054 | <NME> util.js
<BEF> var should = require('../');
function err(fn, msg) {
var ok = true;
try {
fn();
if (
(typeof msg == "string" && err.message !== msg) ||
(msg instanceof RegExp && !msg.test(err.message))
) {
throw new should.AssertionError({
message: [
"Expected me... | 4 | First update for future release. | 0 | .js | js | mit | shouldjs/should.js |
10041055 | <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 | Merge branch 'master' of github.com:shouldjs/should.js | 1 | .js | js | mit | shouldjs/should.js |
10041056 | <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 | Merge branch 'master' of github.com:shouldjs/should.js | 1 | .js | js | mit | shouldjs/should.js |
10041057 | <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"... | 1 | Fix #157 | 0 | .js | test | mit | shouldjs/should.js |
10041058 | <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"... | 1 | Fix #157 | 0 | .js | test | mit | shouldjs/should.js |
10041059 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 2 | Fix readme | 6 | .md | md | mit | shouldjs/should.js |
10041060 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 2 | Fix readme | 6 | .md | md | mit | shouldjs/should.js |
10041061 | <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... | 2 | add examples for Assertion#properties | 0 | .js | js | mit | shouldjs/should.js |
10041062 | <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... | 2 | add examples for Assertion#properties | 0 | .js | js | mit | shouldjs/should.js |
10041063 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://saucelabs.com/u/shouldjs)
_should_ is an expressive, readab... | 7 | Small corrections | 6 | .md | md | mit | shouldjs/should.js |
10041064 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://saucelabs.com/u/shouldjs)
_should_ is an expressive, readab... | 7 | Small corrections | 6 | .md | md | mit | shouldjs/should.js |
10041065 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 12 | Replace expresso -> mocha in docs. | 9 | .md | md | mit | shouldjs/should.js |
10041066 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 12 | Replace expresso -> mocha in docs. | 9 | .md | md | mit | shouldjs/should.js |
10041067 | <NME> runner.js
<BEF> ADDFILE
<MSG> Added example test runner
<DFF> @@ -0,0 +1,53 @@
+
+/**
+ * Module dependencies.
+ */
+
+var should = require('../');
+
+function test(name, fn){
+ try {
+ fn();
+ } catch (err) {
+ console.log(' \x1b[31m%s', name);
+ console.log(' %s\x1b[0m', err.stack);
+ retur... | 53 | Added example test runner | 0 | .js | js | mit | shouldjs/should.js |
10041068 | <NME> runner.js
<BEF> ADDFILE
<MSG> Added example test runner
<DFF> @@ -0,0 +1,53 @@
+
+/**
+ * Module dependencies.
+ */
+
+var should = require('../');
+
+function test(name, fn){
+ try {
+ fn();
+ } catch (err) {
+ console.log(' \x1b[31m%s', name);
+ console.log(' %s\x1b[0m', err.stack);
+ retur... | 53 | Added example test runner | 0 | .js | js | mit | shouldjs/should.js |
10041069 | <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")... | 21 | Added complimentary method #endWith(). Fill changelog | 0 | .js | test | mit | shouldjs/should.js |
10041070 | <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")... | 21 | Added complimentary method #endWith(). Fill changelog | 0 | .js | test | mit | shouldjs/should.js |
10041071 | <NME> jquery.js
<BEF> ADDFILE
<MSG> jQuery matchers for browser-based should.js
<DFF> @@ -0,0 +1,209 @@
+/*!
+ * Should
+ * Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
+ * MIT Licensed
+ */
+
+
+module.exports = function(should, Assertion) {
+ var $ = this.jQuery || this.$ || jQuery || $;
+
+ /* Other... | 209 | jQuery matchers for browser-based should.js | 0 | .js | js | mit | shouldjs/should.js |
10041072 | <NME> jquery.js
<BEF> ADDFILE
<MSG> jQuery matchers for browser-based should.js
<DFF> @@ -0,0 +1,209 @@
+/*!
+ * Should
+ * Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
+ * MIT Licensed
+ */
+
+
+module.exports = function(should, Assertion) {
+ var $ = this.jQuery || this.$ || jQuery || $;
+
+ /* Other... | 209 | jQuery matchers for browser-based should.js | 0 | .js | js | mit | shouldjs/should.js |
10041073 | <NME> .travis.yml
<BEF> language: node_js
node_js:
- '0.10'
- '0.11'
script:
- npm run test
- test $SAUCE_USERNAME && npm run zuul || echo 'not running on saucelabs'
env:
global:
global:
- secure: aB4+vAj+mJHqQfnq9x10eZ5//erfxecs3l9u/oSJX1Ok+WLrpUW0x3qpaC1bEEPq4bkAuIifxohnPv0XTE3m8GyTfRHzqmeNnNQNsnex3IzunbU4aG7Qy... | 0 | Fix version in travis | 2 | .yml | travis | mit | shouldjs/should.js |
10041074 | <NME> .travis.yml
<BEF> language: node_js
node_js:
- '0.10'
- '0.11'
script:
- npm run test
- test $SAUCE_USERNAME && npm run zuul || echo 'not running on saucelabs'
env:
global:
global:
- secure: aB4+vAj+mJHqQfnq9x10eZ5//erfxecs3l9u/oSJX1Ok+WLrpUW0x3qpaC1bEEPq4bkAuIifxohnPv0XTE3m8GyTfRHzqmeNnNQNsnex3IzunbU4aG7Qy... | 0 | Fix version in travis | 2 | .yml | travis | mit | shouldjs/should.js |
10041075 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v4.4.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: '... | 16 | Release 4.4.3 | 9 | .js | js | mit | shouldjs/should.js |
10041076 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v4.4.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: '... | 16 | Release 4.4.3 | 9 | .js | js | mit | shouldjs/should.js |
10041077 | <NME> property.test.js
<BEF> var err = require("../util").err;
var should = require('../../');
module.exports['property'] = {
'test property(name)': function(){
'test'.should.have.property('length');
(4).should.not.have.property('length');
err(function() {
var obj = { f: function f() {} };
var... | 18 | closes #198: support for obj.should.have.enumerable('property'[, val]) | 1 | .js | test | mit | shouldjs/should.js |
10041078 | <NME> property.test.js
<BEF> var err = require("../util").err;
var should = require('../../');
module.exports['property'] = {
'test property(name)': function(){
'test'.should.have.property('length');
(4).should.not.have.property('length');
err(function() {
var obj = { f: function f() {} };
var... | 18 | closes #198: support for obj.should.have.enumerable('property'[, val]) | 1 | .js | test | mit | shouldjs/should.js |
10041079 | <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 #115 from dirtyrottenscoundrel/unstrict-eql | 1 | .js | test | mit | shouldjs/should.js |
10041080 | <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 #115 from dirtyrottenscoundrel/unstrict-eql | 1 | .js | test | mit | shouldjs/should.js |
10041081 | <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 #24 from thadclay/master | 1 | .js | test | mit | shouldjs/should.js |
10041082 | <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 #24 from thadclay/master | 1 | .js | test | mit | shouldjs/should.js |
10041083 | <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 ... | 0 | Added .containDeepOrdered and modified .containDeep to do not check order or arrays. Closes visionmedia/should.js#203. | 109 | .js | test | mit | shouldjs/should.js |
10041084 | <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 ... | 0 | Added .containDeepOrdered and modified .containDeep to do not check order or arrays. Closes visionmedia/should.js#203. | 109 | .js | test | mit | shouldjs/should.js |
10041085 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v9.0.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 () { 'use strict'; var types = { NUM... | 7 | Release 9.0.1 | 5 | .js | js | mit | shouldjs/should.js |
10041086 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v9.0.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 () { 'use strict'; var types = { NUM... | 7 | Release 9.0.1 | 5 | .js | js | mit | shouldjs/should.js |
10041087 | <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")... | 2 | Added docs and test for type assertion and getter 'a'. | 2 | .js | test | mit | shouldjs/should.js |
10041088 | <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")... | 2 | Added docs and test for type assertion and getter 'a'. | 2 | .js | test | mit | shouldjs/should.js |
10041089 | <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... | 0 | Remove deprecated things | 1 | .js | js | mit | shouldjs/should.js |
10041090 | <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... | 0 | Remove deprecated things | 1 | .js | js | mit | shouldjs/should.js |
10041091 | <NME> eql.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 eql from "should-equal";
import getType from "should-type";
import { formatProp, format } from "../format";
i... | 1 | Merge pull request #74 from Qix-/deepEqual | 0 | .js | js | mit | shouldjs/should.js |
10041092 | <NME> eql.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 eql from "should-equal";
import getType from "should-type";
import { formatProp, format } from "../format";
i... | 1 | Merge pull request #74 from Qix-/deepEqual | 0 | .js | js | mit | shouldjs/should.js |
10041093 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v5.0.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: '... | 103 | Release 5.1.0 | 16 | .js | js | mit | shouldjs/should.js |
10041094 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v5.0.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: '... | 103 | Release 5.1.0 | 16 | .js | js | mit | shouldjs/should.js |
10041095 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 2 | Merge pull request #190 from SpenceSellers/master | 2 | .md | md | mit | shouldjs/should.js |
10041096 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 2 | Merge pull request #190 from SpenceSellers/master | 2 | .md | md | mit | shouldjs/should.js |
10041097 | <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:shouldjs/should.js | 1 | .md | md | mit | shouldjs/should.js |
10041098 | <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:shouldjs/should.js | 1 | .md | md | mit | shouldjs/should.js |
10041099 | <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 | Updated exist implementation. | 4 | .js | js | mit | shouldjs/should.js |
10041100 | <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 | Updated exist implementation. | 4 | .js | js | mit | shouldjs/should.js |
10041101 | <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... | 15 | Merge pull request #95 from seegno-forks/enhancement/add-date-type-assertion | 0 | .js | test | mit | shouldjs/should.js |
10041102 | <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... | 15 | Merge pull request #95 from seegno-forks/enhancement/add-date-type-assertion | 0 | .js | test | mit | shouldjs/should.js |
10041103 | <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... | 4 | Merge pull request #164 from chris-grabcad/UpdateDefinitionsOfTrueAndFalseInTypings | 4 | .ts | d | mit | shouldjs/should.js |
10041104 | <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... | 4 | Merge pull request #164 from chris-grabcad/UpdateDefinitionsOfTrueAndFalseInTypings | 4 | .ts | d | mit | shouldjs/should.js |
10041105 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v4.6.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: '... | 269 | Release 4.6.1 | 231 | .js | js | mit | shouldjs/should.js |
10041106 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v4.6.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: '... | 269 | Release 4.6.1 | 231 | .js | js | mit | shouldjs/should.js |
10041107 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v11.1.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 () { 'use strict'; var types = { NU... | 9 | Release 11.1.1 | 10 | .js | js | mit | shouldjs/should.js |
10041108 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v11.1.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 () { 'use strict'; var types = { NU... | 9 | Release 11.1.1 | 10 | .js | js | mit | shouldjs/should.js |
10041109 | <NME> should.js <BEF> /** * should - test framework agnostic BDD-style assertions * @version v4.0.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: ... | 33 | Release 4.0.3 | 20 | .js | js | mit | shouldjs/should.js |
10041110 | <NME> should.js <BEF> /** * should - test framework agnostic BDD-style assertions * @version v4.0.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: ... | 33 | Release 4.0.3 | 20 | .js | js | mit | shouldjs/should.js |
10041111 | <NME> eql.test.js
<BEF> var err = require("../util").err;
describe("eql", function() {
it("test eql(val)", function() {
"test".should.eql("test");
({ foo: "bar" }.should.eql({ foo: "bar" }));
(1).should.eql(1);
var memo = [];
function memorize() {
memo.push(arguments);
}
memorize(... | 13 | Add .oneOf and .equalOneOf | 0 | .js | test | mit | shouldjs/should.js |
10041112 | <NME> eql.test.js
<BEF> var err = require("../util").err;
describe("eql", function() {
it("test eql(val)", function() {
"test".should.eql("test");
({ foo: "bar" }.should.eql({ foo: "bar" }));
(1).should.eql(1);
var memo = [];
function memorize() {
memo.push(arguments);
}
memorize(... | 13 | Add .oneOf and .equalOneOf | 0 | .js | test | mit | shouldjs/should.js |
10041113 | <NME> warn.js
<BEF> ADDFILE
<MSG> Added first warning for static should and wrapped value.
<DFF> @@ -0,0 +1,25 @@
+var WARN = '\u001b[33mWARN\u001b[39m';
+
+function generateDeprecated(lines) {
+ return function(show) {
+ if(!show) return;
+
+ lines.forEach(function(line) {
+ console.log(WARN, line);
+ ... | 25 | Added first warning for static should and wrapped value. | 0 | .js | js | mit | shouldjs/should.js |
10041114 | <NME> warn.js
<BEF> ADDFILE
<MSG> Added first warning for static should and wrapped value.
<DFF> @@ -0,0 +1,25 @@
+var WARN = '\u001b[33mWARN\u001b[39m';
+
+function generateDeprecated(lines) {
+ return function(show) {
+ if(!show) return;
+
+ lines.forEach(function(line) {
+ console.log(WARN, line);
+ ... | 25 | Added first warning for static should and wrapped value. | 0 | .js | js | mit | shouldjs/should.js |
10041115 | <NME> assert.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>
*/
var util = require('../util')
, assert = require('assert')
, AssertionError = assert.AssertionError;
module.exports = functi... | 2 | Reimplement assert via should assertion | 2 | .js | js | mit | shouldjs/should.js |
10041116 | <NME> assert.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>
*/
var util = require('../util')
, assert = require('assert')
, AssertionError = assert.AssertionError;
module.exports = functi... | 2 | Reimplement assert via should assertion | 2 | .js | js | mit | shouldjs/should.js |
10041117 | <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... | 1 | Release 3.1.4 | 1 | .js | js | mit | shouldjs/should.js |
10041118 | <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... | 1 | Release 3.1.4 | 1 | .js | js | mit | shouldjs/should.js |
10041119 | <NME> error.test.js
<BEF> var err = require("../util").err;
describe("error", function() {
it("test throw()", function() {
err(function() {
"a".should.throw();
}, "expected 'a' to be a function\n expected 'a' to have type function\n expected 'string' to be 'function'");
(function() {}.sh... | 2 | Add more accurate regexps for IE | 2 | .js | test | mit | shouldjs/should.js |
10041120 | <NME> error.test.js
<BEF> var err = require("../util").err;
describe("error", function() {
it("test throw()", function() {
err(function() {
"a".should.throw();
}, "expected 'a' to be a function\n expected 'a' to have type function\n expected 'string' to be 'function'");
(function() {}.sh... | 2 | Add more accurate regexps for IE | 2 | .js | test | mit | shouldjs/should.js |
10041121 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://saucelabs.com/u/shouldjs)
_should_ is an expressive, readab... | 26 | Update README. | 26 | .md | md | mit | shouldjs/should.js |
10041122 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://saucelabs.com/u/shouldjs)
_should_ is an expressive, readab... | 26 | Update README. | 26 | .md | md | mit | shouldjs/should.js |
10041123 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 4 | Fix docs for `should()` (close #162) | 1 | .md | md | mit | shouldjs/should.js |
10041124 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 4 | Fix docs for `should()` (close #162) | 1 | .md | md | mit | shouldjs/should.js |
10041125 | <NME> promise.test.js
<BEF> var Promise = require("bluebird");
function promised(value) {
return new Promise(function(resolve) {
resolve(value);
});
}
function promiseFail() {
return new Promise(function(resolve, reject) {
reject(new Error("boom"));
});
}
function promiseFailTimeout() {
return new ... | 11 | Added .resolved, .resolvedWith as aliases to .fulfilled, .fulfilledWith | 24 | .js | test | mit | shouldjs/should.js |
10041126 | <NME> promise.test.js
<BEF> var Promise = require("bluebird");
function promised(value) {
return new Promise(function(resolve) {
resolve(value);
});
}
function promiseFail() {
return new Promise(function(resolve, reject) {
reject(new Error("boom"));
});
}
function promiseFailTimeout() {
return new ... | 11 | Added .resolved, .resolvedWith as aliases to .fulfilled, .fulfilledWith | 24 | .js | test | mit | shouldjs/should.js |
10041127 | <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... | 0 | Release 6.0.1 | 16 | .js | js | mit | shouldjs/should.js |
10041128 | <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... | 0 | Release 6.0.1 | 16 | .js | js | mit | shouldjs/should.js |
10041129 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v9.0.2 * @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 () { 'use strict'; var types = { NUM... | 35 | Release 10.0.0 | 13 | .js | js | mit | shouldjs/should.js |
10041130 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v9.0.2 * @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 () { 'use strict'; var types = { NUM... | 35 | Release 10.0.0 | 13 | .js | js | mit | shouldjs/should.js |
10041131 | <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"... | 5 | When objects both are empty we check if they are equals. | 1 | .js | test | mit | shouldjs/should.js |
10041132 | <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"... | 5 | When objects both are empty we check if they are equals. | 1 | .js | test | mit | shouldjs/should.js |
10041133 | <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... | 24 | Initial support of es6 symbols, generators, iterators, iterables | 1 | .js | js | mit | shouldjs/should.js |
10041134 | <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... | 24 | Initial support of es6 symbols, generators, iterators, iterables | 1 | .js | js | mit | shouldjs/should.js |
10041135 | <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 | Merge pull request #51 from kaspars/master | 1 | .js | js | mit | shouldjs/should.js |
10041136 | <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 | Merge pull request #51 from kaspars/master | 1 | .js | js | mit | shouldjs/should.js |
10041137 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v13.2.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... | 19 | Release 13.2.1 | 9 | .js | js | mit | shouldjs/should.js |
10041138 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v13.2.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... | 19 | Release 13.2.1 | 9 | .js | js | mit | shouldjs/should.js |
10041139 | <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 | Merge branch 'patch-1' of https://github.com/ForbesLindesay/should.js into v2 | 1 | .js | js | mit | shouldjs/should.js |
10041140 | <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 | Merge branch 'patch-1' of https://github.com/ForbesLindesay/should.js into v2 | 1 | .js | js | mit | shouldjs/should.js |
10041141 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v7.0.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: '... | 49 | Release 7.0.1 | 65 | .js | js | mit | shouldjs/should.js |
10041142 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v7.0.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: '... | 49 | Release 7.0.1 | 65 | .js | js | mit | shouldjs/should.js |
10041143 | <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 | Export util | 0 | .js | js | mit | shouldjs/should.js |
10041144 | <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 | Export util | 0 | .js | js | mit | shouldjs/should.js |
10041145 | <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... | 46 | As inspect moved to repo, changed how date formated | 44 | .js | js | mit | shouldjs/should.js |
10041146 | <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... | 46 | As inspect moved to repo, changed how date formated | 44 | .js | js | mit | shouldjs/should.js |
10041147 | <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... | 10 | Add '#of'. Close #141. | 0 | .js | js | mit | shouldjs/should.js |
10041148 | <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... | 10 | Add '#of'. Close #141. | 0 | .js | js | mit | shouldjs/should.js |
10041149 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v6.0.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: '... | 4 | Release 6.0.3 | 4 | .js | js | mit | shouldjs/should.js |