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
10040150
<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")...
14
More tests
0
.js
test
mit
shouldjs/should.js
10040151
<NME> contain.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 { isIterable, some, isEmpty, forEach, iterator } from "should-type-adaptors"; import eql from "should-eq...
0
Update docs
3
.js
js
mit
shouldjs/should.js
10040152
<NME> contain.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 { isIterable, some, isEmpty, forEach, iterator } from "should-type-adaptors"; import eql from "should-eq...
0
Update docs
3
.js
js
mit
shouldjs/should.js
10040153
<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
Added property chaining
0
.js
test
mit
shouldjs/should.js
10040154
<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
Added property chaining
0
.js
test
mit
shouldjs/should.js
10040155
<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
Let instanceof() accept wrapped primitives
0
.js
test
mit
shouldjs/should.js
10040156
<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
Let instanceof() accept wrapped primitives
0
.js
test
mit
shouldjs/should.js
10040157
<NME> bool.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 module.exports = function(should, Assertion) { Assertion.add('true', function() { this.is.exactly(true) }, true...
2
Semicolons
2
.js
js
mit
shouldjs/should.js
10040158
<NME> bool.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 module.exports = function(should, Assertion) { Assertion.add('true', function() { this.is.exactly(true) }, true...
2
Semicolons
2
.js
js
mit
shouldjs/should.js
10040159
<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...
43
Implementing should[.not].exist()!
3
.js
js
mit
shouldjs/should.js
10040160
<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...
43
Implementing should[.not].exist()!
3
.js
js
mit
shouldjs/should.js
10040161
<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
Fixes HTMLElement check error in DOM-less environments
1
.js
js
mit
shouldjs/should.js
10040162
<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
Fixes HTMLElement check error in DOM-less environments
1
.js
js
mit
shouldjs/should.js
10040163
<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 ...
2
Fix tests for safari
2
.js
test
mit
shouldjs/should.js
10040164
<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 ...
2
Fix tests for safari
2
.js
test
mit
shouldjs/should.js
10040165
<NME> Readme.md <BEF> # should.js [![Join the chat at https://gitter.im/shouldjs/should.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/shouldjs/should.js) [![Build Status](https://travis-ci.org/shouldjs/should.js.svg?branch=master)](https://travis-ci.org/shouldjs/should.js) [![Selenium Test Status]...
5
Merge pull request #128 from gabrielf/mocha-example
5
.md
md
mit
shouldjs/should.js
10040166
<NME> Readme.md <BEF> # should.js [![Join the chat at https://gitter.im/shouldjs/should.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/shouldjs/should.js) [![Build Status](https://travis-ci.org/shouldjs/should.js.svg?branch=master)](https://travis-ci.org/shouldjs/should.js) [![Selenium Test Status]...
5
Merge pull request #128 from gabrielf/mocha-example
5
.md
md
mit
shouldjs/should.js
10040167
<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")...
9
Added instanceof()
0
.js
test
mit
shouldjs/should.js
10040168
<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")...
9
Added instanceof()
0
.js
test
mit
shouldjs/should.js
10040169
<NME> Readme.md <BEF> # should.js [![Join the chat at https://gitter.im/shouldjs/should.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/shouldjs/should.js) _should_ literally extends node's _assert_ module, in fact, it is node's assert module, for example `should.equal(str, 'foo')` will work, just as...
172
Add markdown syntax highlighting to README.md
172
.md
md
mit
shouldjs/should.js
10040170
<NME> Readme.md <BEF> # should.js [![Join the chat at https://gitter.im/shouldjs/should.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/shouldjs/should.js) _should_ literally extends node's _assert_ module, in fact, it is node's assert module, for example `should.equal(str, 'foo')` will work, just as...
172
Add markdown syntax highlighting to README.md
172
.md
md
mit
shouldjs/should.js
10040171
<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 includeEql.
0
.js
test
mit
shouldjs/should.js
10040172
<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 includeEql.
0
.js
test
mit
shouldjs/should.js
10040173
<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"); ...
7
Do not throw TypeError when matching against null and undefined
0
.js
test
mit
shouldjs/should.js
10040174
<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"); ...
7
Do not throw TypeError when matching against null and undefined
0
.js
test
mit
shouldjs/should.js
10040175
<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")...
7
bugfix - pSlice used, but not defined in eql.js
0
.js
test
mit
shouldjs/should.js
10040176
<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")...
7
bugfix - pSlice used, but not defined in eql.js
0
.js
test
mit
shouldjs/should.js
10040177
<NME> should.js <BEF> /*! * Should * Copyright(c) 2010 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 "./uti...
2
Merge pull request #22 from Raynos/patch-1
2
.js
js
mit
shouldjs/should.js
10040178
<NME> should.js <BEF> /*! * Should * Copyright(c) 2010 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 "./uti...
2
Merge pull request #22 from Raynos/patch-1
2
.js
js
mit
shouldjs/should.js
10040179
<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
Added #approximately(value, delta, description) for doing assertions on results of operations with numbers.
0
.js
js
mit
shouldjs/should.js
10040180
<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
Added #approximately(value, delta, description) for doing assertions on results of operations with numbers.
0
.js
js
mit
shouldjs/should.js
10040181
<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 ...
15
Fixes shouldjs/should.js#45 - Object #<Object> has no method 'isString' when calling propertyByPath with String argument instead of Array
0
.js
test
mit
shouldjs/should.js
10040182
<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 ...
15
Fixes shouldjs/should.js#45 - Object #<Object> has no method 'isString' when calling propertyByPath with String argument instead of Array
0
.js
test
mit
shouldjs/should.js
10040183
<NME> jquery.test.js <BEF> ADDFILE <MSG> Tests and fixes for ext/jquery.js <DFF> @@ -0,0 +1,368 @@ +var err = require('../util').err; +var fs = require('fs'); +var jsdom = require('jsdom'); +var path = require('path'); + +var jQuerySource = fs.readFileSync(path.resolve('node_modules/jquery/dist/jquery.js', '.'), "utf-...
368
Tests and fixes for ext/jquery.js
0
.js
test
mit
shouldjs/should.js
10040184
<NME> jquery.test.js <BEF> ADDFILE <MSG> Tests and fixes for ext/jquery.js <DFF> @@ -0,0 +1,368 @@ +var err = require('../util').err; +var fs = require('fs'); +var jsdom = require('jsdom'); +var path = require('path'); + +var jQuerySource = fs.readFileSync(path.resolve('node_modules/jquery/dist/jquery.js', '.'), "utf-...
368
Tests and fixes for ext/jquery.js
0
.js
test
mit
shouldjs/should.js
10040185
<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
Use should.format instead of i() in getMessage()
3
.js
js
mit
shouldjs/should.js
10040186
<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
Use should.format instead of i() in getMessage()
3
.js
js
mit
shouldjs/should.js
10040187
<NME> _assert.js <BEF> // implement assert interface using already written peaces of should.js // http://wiki.commonjs.org/wiki/Unit_Testing/1.0 // // THIS IS NOT TESTED NOR LIKELY TO WORK OUTSIDE V8! // // Originally from narwhal.js (http://narwhaljs.org) // Copyright (c) 2009 Thomas Robinson <280north.com> // // Per...
4
Update docs for assert.deepEqual
0
.js
js
mit
shouldjs/should.js
10040188
<NME> _assert.js <BEF> // implement assert interface using already written peaces of should.js // http://wiki.commonjs.org/wiki/Unit_Testing/1.0 // // THIS IS NOT TESTED NOR LIKELY TO WORK OUTSIDE V8! // // Originally from narwhal.js (http://narwhaljs.org) // Copyright (c) 2009 Thomas Robinson <280north.com> // // Per...
4
Update docs for assert.deepEqual
0
.js
js
mit
shouldjs/should.js
10040189
<NME> exist.test.js <BEF> /** * Module dependencies. */ function err(fn, msg) { try { fn(); should.fail("expected an error"); } catch (err) { should.equal(msg, err.message); } } function err_should_exist(obj) { err(function() { should.exist(obj); }, "expected " + should.format(obj) + " to ...
8
Updating exist tests to new spec.
32
.js
test
mit
shouldjs/should.js
10040190
<NME> exist.test.js <BEF> /** * Module dependencies. */ function err(fn, msg) { try { fn(); should.fail("expected an error"); } catch (err) { should.equal(msg, err.message); } } function err_should_exist(obj) { err(function() { should.exist(obj); }, "expected " + should.format(obj) + " to ...
8
Updating exist tests to new spec.
32
.js
test
mit
shouldjs/should.js
10040191
<NME> Readme.md <BEF> # should.js [![Join the chat at https://gitter.im/shouldjs/should.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/shouldjs/should.js) [![Build Status](https://travis-ci.org/shouldjs/should.js.svg?branch=master)](https://travis-ci.org/shouldjs/should.js) [![Selenium Test Status]...
2
Fix Readme for Typescript Instructions
2
.md
md
mit
shouldjs/should.js
10040192
<NME> Readme.md <BEF> # should.js [![Join the chat at https://gitter.im/shouldjs/should.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/shouldjs/should.js) [![Build Status](https://travis-ci.org/shouldjs/should.js.svg?branch=master)](https://travis-ci.org/shouldjs/should.js) [![Selenium Test Status]...
2
Fix Readme for Typescript Instructions
2
.md
md
mit
shouldjs/should.js
10040193
<NME> Readme.md <BEF> # should.js [![Join the chat at https://gitter.im/shouldjs/should.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/shouldjs/should.js) [![Build Status](https://travis-ci.org/shouldjs/should.js.svg?branch=master)](https://travis-ci.org/shouldjs/should.js) [![Selenium Test Status]...
5
Merge pull request #205 from ndastur/patch-1
0
.md
md
mit
shouldjs/should.js
10040194
<NME> Readme.md <BEF> # should.js [![Join the chat at https://gitter.im/shouldjs/should.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/shouldjs/should.js) [![Build Status](https://travis-ci.org/shouldjs/should.js.svg?branch=master)](https://travis-ci.org/shouldjs/should.js) [![Selenium Test Status]...
5
Merge pull request #205 from ndastur/patch-1
0
.md
md
mit
shouldjs/should.js
10040195
<NME> .doclets.yml <BEF> ADDFILE <MSG> Experiment with docklets <DFF> @@ -0,0 +1,5 @@ +dir: lib +packageJson: package.json +files: + - index.js + - as-function.js
5
Experiment with docklets
0
.yml
doclets
mit
shouldjs/should.js
10040196
<NME> .doclets.yml <BEF> ADDFILE <MSG> Experiment with docklets <DFF> @@ -0,0 +1,5 @@ +dir: lib +packageJson: package.json +files: + - index.js + - as-function.js
5
Experiment with docklets
0
.yml
doclets
mit
shouldjs/should.js
10040197
<NME> rollup.config.js <BEF> ADDFILE <MSG> Use rollup for build <DFF> @@ -0,0 +1,44 @@ +/*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} + ...
44
Use rollup for build
0
.js
config
mit
shouldjs/should.js
10040198
<NME> rollup.config.js <BEF> ADDFILE <MSG> Use rollup for build <DFF> @@ -0,0 +1,44 @@ +/*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} + ...
44
Use rollup for build
0
.js
config
mit
shouldjs/should.js
10040199
<NME> bool.test.js <BEF> var err = require("../util").err; describe("bool", function() { it("test true", function() { true.should.be.true(); false.should.not.be.true(); (1).should.not.be.true(); err(function() { "test".should.be.true(); }, "expected 'test' to be true"); err(function()...
8
Allow to pass custom text to .true and .false
0
.js
test
mit
shouldjs/should.js
10040200
<NME> bool.test.js <BEF> var err = require("../util").err; describe("bool", function() { it("test true", function() { true.should.be.true(); false.should.not.be.true(); (1).should.not.be.true(); err(function() { "test".should.be.true(); }, "expected 'test' to be true"); err(function()...
8
Allow to pass custom text to .true and .false
0
.js
test
mit
shouldjs/should.js
10040201
<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...
126
Better support for custom descriptions, doc fixes
71
.js
js
mit
shouldjs/should.js
10040202
<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...
126
Better support for custom descriptions, doc fixes
71
.js
js
mit
shouldjs/should.js
10040203
<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")...
41
More tests. Fix bug in empty.
0
.js
test
mit
shouldjs/should.js
10040204
<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")...
41
More tests. Fix bug in empty.
0
.js
test
mit
shouldjs/should.js
10040205
<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...
241
Rebuilt should.js
15
.js
js
mit
shouldjs/should.js
10040206
<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...
241
Rebuilt should.js
15
.js
js
mit
shouldjs/should.js
10040207
<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 ...
124
Prettier everything
112
.js
test
mit
shouldjs/should.js
10040208
<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 ...
124
Prettier everything
112
.js
test
mit
shouldjs/should.js
10040209
<NME> nested.test.js <BEF> var util = require("./util"); 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() { util.err(function() ...
3
Adopt new format package, remove Proxy usage
3
.js
test
mit
shouldjs/should.js
10040210
<NME> nested.test.js <BEF> var util = require("./util"); 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() { util.err(function() ...
3
Adopt new format package, remove Proxy usage
3
.js
test
mit
shouldjs/should.js
10040211
<NME> exist.test.js <BEF> ADDFILE <MSG> Test cases for should[.not].exist()! Signed-off-by: Tj Holowaychuk <546b05909706652891a87f7bfe385ae147f61f91@vision-media.ca> <DFF> @@ -0,0 +1,124 @@ + +/** + * Module dependencies. + */ + +var should = require('should'); +var util = require('util'); + +function err(fn, msg) { ...
124
Test cases for should[.not].exist()!
0
.js
test
mit
shouldjs/should.js
10040212
<NME> exist.test.js <BEF> ADDFILE <MSG> Test cases for should[.not].exist()! Signed-off-by: Tj Holowaychuk <546b05909706652891a87f7bfe385ae147f61f91@vision-media.ca> <DFF> @@ -0,0 +1,124 @@ + +/** + * Module dependencies. + */ + +var should = require('should'); +var util = require('util'); + +function err(fn, msg) { ...
124
Test cases for should[.not].exist()!
0
.js
test
mit
shouldjs/should.js
10040213
<NME> Readme.md <BEF> _should_ is an expressive, test framework agnostic, assertion library for [node](http://nodejs.org). _should_ literally extends node's _assert_ module, in fact, it is node's assert module, for example `should.equal(str, 'foo')` will work, just as `assert.equal(str, 'foo')` would, and `should.A...
42
Improved documentation (and semantics) for exist.
17
.md
md
mit
shouldjs/should.js
10040214
<NME> Readme.md <BEF> _should_ is an expressive, test framework agnostic, assertion library for [node](http://nodejs.org). _should_ literally extends node's _assert_ module, in fact, it is node's assert module, for example `should.equal(str, 'foo')` will work, just as `assert.equal(str, 'foo')` would, and `should.A...
42
Improved documentation (and semantics) for exist.
17
.md
md
mit
shouldjs/should.js
10040215
<NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v6.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: '...
10
Release 6.0.2
10
.js
js
mit
shouldjs/should.js
10040216
<NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v6.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: '...
10
Release 6.0.2
10
.js
js
mit
shouldjs/should.js
10040217
<NME> Readme.md <BEF> # should.js [![Join the chat at https://gitter.im/shouldjs/should.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/shouldjs/should.js) [![Build Status](https://travis-ci.org/shouldjs/should.js.svg?branch=master)](https://travis-ci.org/shouldjs/should.js) [![Selenium Test Status]...
0
removed note of modifiers
6
.md
md
mit
shouldjs/should.js
10040218
<NME> Readme.md <BEF> # should.js [![Join the chat at https://gitter.im/shouldjs/should.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/shouldjs/should.js) [![Build Status](https://travis-ci.org/shouldjs/should.js.svg?branch=master)](https://travis-ci.org/shouldjs/should.js) [![Selenium Test Status]...
0
removed note of modifiers
6
.md
md
mit
shouldjs/should.js
10040219
<NME> Readme.md <BEF> # should.js [![Join the chat at https://gitter.im/shouldjs/should.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/shouldjs/should.js) [![Build Status](https://travis-ci.org/shouldjs/should.js.svg?branch=master)](https://travis-ci.org/shouldjs/should.js) [![Selenium Test Status]...
9
Merge pull request #184 from ZDroid/cmd-highlight
7
.md
md
mit
shouldjs/should.js
10040220
<NME> Readme.md <BEF> # should.js [![Join the chat at https://gitter.im/shouldjs/should.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/shouldjs/should.js) [![Build Status](https://travis-ci.org/shouldjs/should.js.svg?branch=master)](https://travis-ci.org/shouldjs/should.js) [![Selenium Test Status]...
9
Merge pull request #184 from ZDroid/cmd-highlight
7
.md
md
mit
shouldjs/should.js
10040221
<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...
6
Implementation code cleanup based on review.
7
.js
js
mit
shouldjs/should.js
10040222
<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...
6
Implementation code cleanup based on review.
7
.js
js
mit
shouldjs/should.js
10040223
<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")...
16
Fix should.be.instanceOf() failure on Date
0
.js
test
mit
shouldjs/should.js
10040224
<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")...
16
Fix should.be.instanceOf() failure on Date
0
.js
test
mit
shouldjs/should.js
10040225
<NME> History.md <BEF> 7.0.0 / 2015-06- ================== * Added support to `.eql` es6 set, map and symbol (`should-type`, `should-format`, `should-equal`) # 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 ...
1
Release 7.0.0
1
.md
md
mit
shouldjs/should.js
10040226
<NME> History.md <BEF> 7.0.0 / 2015-06- ================== * Added support to `.eql` es6 set, map and symbol (`should-type`, `should-format`, `should-equal`) # 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 ...
1
Release 7.0.0
1
.md
md
mit
shouldjs/should.js
10040227
<NME> Readme.md <BEF> # should.js [![Join the chat at https://gitter.im/shouldjs/should.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/shouldjs/should.js) [![Build Status](https://travis-ci.org/shouldjs/should.js.svg?branch=master)](https://travis-ci.org/shouldjs/should.js) [![Selenium Test Status]...
5
Add solution to docs for common problem / use case
0
.md
md
mit
shouldjs/should.js
10040228
<NME> Readme.md <BEF> # should.js [![Join the chat at https://gitter.im/shouldjs/should.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/shouldjs/should.js) [![Build Status](https://travis-ci.org/shouldjs/should.js.svg?branch=master)](https://travis-ci.org/shouldjs/should.js) [![Selenium Test Status]...
5
Add solution to docs for common problem / use case
0
.md
md
mit
shouldjs/should.js
10040229
<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
add mocha .actual / .expected string support for all assertion values
10
.js
js
mit
shouldjs/should.js
10040230
<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
add mocha .actual / .expected string support for all assertion values
10
.js
js
mit
shouldjs/should.js
10040231
<NME> Readme.md <BEF> # should.js [![Join the chat at https://gitter.im/shouldjs/should.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/shouldjs/should.js) [![Build Status](https://travis-ci.org/shouldjs/should.js.svg?branch=master)](https://travis-ci.org/shouldjs/should.js) [![Selenium Test Status]...
4
Move examples out of repository
0
.md
md
mit
shouldjs/should.js
10040232
<NME> Readme.md <BEF> # should.js [![Join the chat at https://gitter.im/shouldjs/should.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/shouldjs/should.js) [![Build Status](https://travis-ci.org/shouldjs/should.js.svg?branch=master)](https://travis-ci.org/shouldjs/should.js) [![Selenium Test Status]...
4
Move examples out of repository
0
.md
md
mit
shouldjs/should.js
10040233
<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"; */ var util = require('./util') , http = require('...
36
Expose inspect function, that people can change options as they want.
35
.js
js
mit
shouldjs/should.js
10040234
<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"; */ var util = require('./util') , http = require('...
36
Expose inspect function, that people can change options as they want.
35
.js
js
mit
shouldjs/should.js
10040235
<NME> eql.test.js <BEF> var err = require("../util").err; describe("eql", function() { it("test eql(val)", function() { "test".should.eql("test"); 'test'.should.eql('test'); ({ foo: 'bar' }).should.eql({ foo: 'bar' }); (1).should.eql(1); '4'.should.eql(4); var memo = []; function memorize...
0
Added warning to .eql for non strict checks. Also added ability to disable warnings with env variable SHOULDJS_WARN.
1
.js
test
mit
shouldjs/should.js
10040236
<NME> eql.test.js <BEF> var err = require("../util").err; describe("eql", function() { it("test eql(val)", function() { "test".should.eql("test"); 'test'.should.eql('test'); ({ foo: 'bar' }).should.eql({ foo: 'bar' }); (1).should.eql(1); '4'.should.eql(4); var memo = []; function memorize...
0
Added warning to .eql for non strict checks. Also added ability to disable warnings with env variable SHOULDJS_WARN.
1
.js
test
mit
shouldjs/should.js
10040237
<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
Closes #53 - 'a' and 'an' is now similar, 'have.type' replaces 'be.a'.
11
.js
test
mit
shouldjs/should.js
10040238
<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
Closes #53 - 'a' and 'an' is now similar, 'have.type' replaces 'be.a'.
11
.js
test
mit
shouldjs/should.js
10040239
<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
Update string.js
1
.js
js
mit
shouldjs/should.js
10040240
<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
Update string.js
1
.js
js
mit
shouldjs/should.js
10040241
<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
Merge pull request #154 from citizensas/master
1
.ts
d
mit
shouldjs/should.js
10040242
<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
Merge pull request #154 from citizensas/master
1
.ts
d
mit
shouldjs/should.js
10040243
<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(...
1
Update to new type, format and equal
1
.js
test
mit
shouldjs/should.js
10040244
<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(...
1
Update to new type, format and equal
1
.js
test
mit
shouldjs/should.js
10040245
<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
use valueOf() to get the reference the object.
1
.js
js
mit
shouldjs/should.js
10040246
<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
use valueOf() to get the reference the object.
1
.js
js
mit
shouldjs/should.js
10040247
<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
Square brackets around optional parameters in JSDocs
3
.js
js
mit
shouldjs/should.js
10040248
<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
Square brackets around optional parameters in JSDocs
3
.js
js
mit
shouldjs/should.js
10040249
<NME> Readme.md <BEF> # should.js [![Build Status](https://travis-ci.org/shouldjs/should.js.svg?branch=master)](https://travis-ci.org/shouldjs/should.js) [![Selenium Test Status](https://saucelabs.com/browser-matrix/shouldjs.svg)](https://saucelabs.com/u/shouldjs) _should_ is an expressive, readable, framework-agnos...
2
Added Gitter badge
0
.md
md
mit
shouldjs/should.js