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 |
|---|---|---|---|---|---|---|---|---|
10040950 | <NME> util.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import sformat from "should-format";
export function isWrapperType(obj) {
return obj instanceof Number || obj ins... | 1 | Deal with assert module more accurately | 1 | .js | js | mit | shouldjs/should.js |
10040951 | <NME> ISSUE_TEMPLATE.md
<BEF> ADDFILE
<MSG> Create ISSUE_TEMPLATE.md
<DFF> @@ -0,0 +1,10 @@
+Hi.
+
+Answer several questions if it is a bug:
+1. Node.js version?
+2. OS name and version?
+3. NPM version?
+4. Should.js version?
+
+If you can add reproducible test case.
+If you cannot add as much details as you can (rele... | 10 | Create ISSUE_TEMPLATE.md | 0 | .md | md | mit | shouldjs/should.js |
10040952 | <NME> ISSUE_TEMPLATE.md
<BEF> ADDFILE
<MSG> Create ISSUE_TEMPLATE.md
<DFF> @@ -0,0 +1,10 @@
+Hi.
+
+Answer several questions if it is a bug:
+1. Node.js version?
+2. OS name and version?
+3. NPM version?
+4. Should.js version?
+
+If you can add reproducible test case.
+If you cannot add as much details as you can (rele... | 10 | Create ISSUE_TEMPLATE.md | 0 | .md | md | mit | shouldjs/should.js |
10040953 | <NME> Readme.md
<BEF> # should.js
_should_ is an expressive, readable, test framework agnostic, assertion library for [node](http://nodejs.org).
It extends the Object prototype with a single non-enumerable getter that allows you to express how that object should behave.
## Example
```javascript
_should_ is an expres... | 370 | Update Readme.md | 213 | .md | md | mit | shouldjs/should.js |
10040954 | <NME> Readme.md
<BEF> # should.js
_should_ is an expressive, readable, test framework agnostic, assertion library for [node](http://nodejs.org).
It extends the Object prototype with a single non-enumerable getter that allows you to express how that object should behave.
## Example
```javascript
_should_ is an expres... | 370 | Update Readme.md | 213 | .md | md | mit | shouldjs/should.js |
10040955 | <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... | 135 | Update build | 131 | .js | js | mit | shouldjs/should.js |
10040956 | <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... | 135 | Update build | 131 | .js | js | mit | shouldjs/should.js |
10040957 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v3.3.2 * @author TJ Holowaychuk <tj@vision-media.ca> and contributors * @link https://github.com/shouldjs/core * @license MIT */ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;i... | 478 | Copy node core inspect to repo to do not depends from browserify version of inspect | 21 | .js | js | mit | shouldjs/should.js |
10040958 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v3.3.2 * @author TJ Holowaychuk <tj@vision-media.ca> and contributors * @link https://github.com/shouldjs/core * @license MIT */ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;i... | 478 | Copy node core inspect to repo to do not depends from browserify version of inspect | 21 | .js | js | mit | shouldjs/should.js |
10040959 | <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");
... | 1 | Make .match* more consistent | 1 | .js | test | mit | shouldjs/should.js |
10040960 | <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");
... | 1 | Make .match* more consistent | 1 | .js | test | mit | shouldjs/should.js |
10040961 | <NME> should.min.js
<BEF> ADDFILE
<MSG> Release 3.0.0
<DFF> @@ -0,0 +1,47 @@
+!function(C){if("object"==typeof exports)module.exports=C();else if("function"==typeof define&&define.amd)define(C);else{var g;"undefined"!=typeof window?g=window:"undefined"!=typeof global?g=global:"undefined"!=typeof self&&(g=self);g.Shoul... | 47 | Release 3.0.0 | 0 | .js | min | mit | shouldjs/should.js |
10040962 | <NME> should.min.js
<BEF> ADDFILE
<MSG> Release 3.0.0
<DFF> @@ -0,0 +1,47 @@
+!function(C){if("object"==typeof exports)module.exports=C();else if("function"==typeof define&&define.amd)define(C);else{var g;"undefined"!=typeof window?g=window:"undefined"!=typeof global?g=global:"undefined"!=typeof self&&(g=self);g.Shoul... | 47 | Release 3.0.0 | 0 | .js | min | mit | shouldjs/should.js |
10040963 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v4.6.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: '... | 68 | Release 4.6.3 | 64 | .js | js | mit | shouldjs/should.js |
10040964 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v4.6.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: '... | 68 | Release 4.6.3 | 64 | .js | js | mit | shouldjs/should.js |
10040965 | <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... | 4 | Adjust spaces for safari and IE | 4 | .js | test | mit | shouldjs/should.js |
10040966 | <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... | 4 | Adjust spaces for safari and IE | 4 | .js | test | mit | shouldjs/should.js |
10040967 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 3 | Update for old info | 4 | .md | md | mit | shouldjs/should.js |
10040968 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 3 | Update for old info | 4 | .md | md | mit | shouldjs/should.js |
10040969 | <NME> assertion.js
<BEF> ADDFILE
<MSG> Refactor Assertion
<DFF> @@ -0,0 +1,127 @@
+var AssertionError = require('./assertion-error');
+
+function Assertion(obj, format) {
+ this.obj = obj;
+ this.format = format;
+};
+
+/**
+ Way to extend Assertion function. It uses some logic
+ to define only positive assertions a... | 127 | Refactor Assertion | 0 | .js | js | mit | shouldjs/should.js |
10040970 | <NME> assertion.js
<BEF> ADDFILE
<MSG> Refactor Assertion
<DFF> @@ -0,0 +1,127 @@
+var AssertionError = require('./assertion-error');
+
+function Assertion(obj, format) {
+ this.obj = obj;
+ this.format = format;
+};
+
+/**
+ Way to extend Assertion function. It uses some logic
+ to define only positive assertions a... | 127 | Refactor Assertion | 0 | .js | js | mit | shouldjs/should.js |
10040971 | <NME> should.js <BEF> /** * should - test framework agnostic BDD-style assertions * @version v4.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', var util = require('./util'); va... | 464 | Release 4.2.0 | 653 | .js | js | mit | shouldjs/should.js |
10040972 | <NME> should.js <BEF> /** * should - test framework agnostic BDD-style assertions * @version v4.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', var util = require('./util'); va... | 464 | Release 4.2.0 | 653 | .js | js | mit | shouldjs/should.js |
10040973 | <NME> .eslintrc.yml
<BEF>
extends: shouldjs
extends: eslint:recommended
env:
node: true
mocha: true
browser: true
rules:
quotes: 0
indent: 0
<MSG> Update eslint config to use modules
<DFF> @@ -5,9 +5,14 @@ root: true
extends: eslint:recommended
env:
- node: true
mocha: true
browser: true
+ es6... | 6 | Update eslint config to use modules | 1 | .yml | eslintrc | mit | shouldjs/should.js |
10040974 | <NME> .eslintrc.yml
<BEF>
extends: shouldjs
extends: eslint:recommended
env:
node: true
mocha: true
browser: true
rules:
quotes: 0
indent: 0
<MSG> Update eslint config to use modules
<DFF> @@ -5,9 +5,14 @@ root: true
extends: eslint:recommended
env:
- node: true
mocha: true
browser: true
+ es6... | 6 | Update eslint config to use modules | 1 | .yml | eslintrc | mit | shouldjs/should.js |
10040975 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v8.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: ... | 20 | Release 8.0.1 | 11 | .js | js | mit | shouldjs/should.js |
10040976 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v8.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: ... | 20 | Release 8.0.1 | 11 | .js | js | mit | shouldjs/should.js |
10040977 | <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... | 4 | Make inspection only when we throw exception | 4 | .js | js | mit | shouldjs/should.js |
10040978 | <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... | 4 | Make inspection only when we throw exception | 4 | .js | js | mit | shouldjs/should.js |
10040979 | <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 | Merge pull request #89 from alFReD-NSH/clean-up | 3 | .js | js | mit | shouldjs/should.js |
10040980 | <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 | Merge pull request #89 from alFReD-NSH/clean-up | 3 | .js | js | mit | shouldjs/should.js |
10040981 | <NME> should.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { i... | 3 | Merge branch 'timmckenzie-customFormatter' | 3 | .js | js | mit | shouldjs/should.js |
10040982 | <NME> should.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
import t from "should-type";
import eq from "should-equal";
import defaultFormat from "should-format";
import { i... | 3 | Merge branch 'timmckenzie-customFormatter' | 3 | .js | js | mit | shouldjs/should.js |
10040983 | <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 |
10040984 | <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 |
10040985 | <NME> number.test.js
<BEF> var err = require("../util").err;
describe("number", function() {
it("test NaN", function() {
NaN.should.be.NaN();
Infinity.should.not.be.NaN();
(0).should.not.be.NaN();
false.should.not.be.NaN();
({}.should.not.be.NaN());
"".should.not.be.NaN();
"foo".should.no... | 8 | Merge branch 'master' of github.com:shouldjs/should.js | 0 | .js | test | mit | shouldjs/should.js |
10040986 | <NME> number.test.js
<BEF> var err = require("../util").err;
describe("number", function() {
it("test NaN", function() {
NaN.should.be.NaN();
Infinity.should.not.be.NaN();
(0).should.not.be.NaN();
false.should.not.be.NaN();
({}.should.not.be.NaN());
"".should.not.be.NaN();
"foo".should.no... | 8 | Merge branch 'master' of github.com:shouldjs/should.js | 0 | .js | test | mit | shouldjs/should.js |
10040987 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v4.6.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: '... | 2 | Release 4.6.2 | 2 | .js | js | mit | shouldjs/should.js |
10040988 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v4.6.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: '... | 2 | Release 4.6.2 | 2 | .js | js | mit | shouldjs/should.js |
10040989 | <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... | 5 | Merge pull request #171 from jsoref/spelling | 5 | .js | js | mit | shouldjs/should.js |
10040990 | <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... | 5 | Merge pull request #171 from jsoref/spelling | 5 | .js | js | mit | shouldjs/should.js |
10040991 | <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");
... | 6 | Bug when both one of objects is primitive | 0 | .js | test | mit | shouldjs/should.js |
10040992 | <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");
... | 6 | Bug when both one of objects is primitive | 0 | .js | test | mit | shouldjs/should.js |
10040993 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 2 | Add link to wiki reference about known bugs | 0 | .md | md | mit | shouldjs/should.js |
10040994 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 2 | Add link to wiki reference about known bugs | 0 | .md | md | mit | shouldjs/should.js |
10040995 | <NME> .zuul.yml
<BEF> ui: mocha-bdd
browsers:
- name: chrome
version: -2..latest
- name: ie
version: 9..latest
- name: firefox
version: 25..latest
- name: safari
version: 6..latest
- name: safari
version: -2..latest
<MSG> Clear how to run test
<DFF> @@ -5,6 +5,6 @@ browsers:
- name: i... | 1 | Clear how to run test | 1 | .yml | zuul | mit | shouldjs/should.js |
10040996 | <NME> .zuul.yml
<BEF> ui: mocha-bdd
browsers:
- name: chrome
version: -2..latest
- name: ie
version: 9..latest
- name: firefox
version: 25..latest
- name: safari
version: 6..latest
- name: safari
version: -2..latest
<MSG> Clear how to run test
<DFF> @@ -5,6 +5,6 @@ browsers:
- name: i... | 1 | Clear how to run test | 1 | .yml | zuul | mit | shouldjs/should.js |
10040997 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 5 | Changed Expresso example to Mocha. | 5 | .md | md | mit | shouldjs/should.js |
10040998 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 5 | Changed Expresso example to Mocha. | 5 | .md | md | mit | shouldjs/should.js |
10040999 | <NME> CONTRIBUTING.md
<BEF> Before contribute something:
Follow simple rules:
- Not violate [DRY](http://programmer.97things.oreilly.com/wiki/index.php/Don%27t_Repeat_Yourself).
- [Boy Scout Rule](http://programmer.97things.oreilly.com/wiki/index.php/The_Boy_Scout_Rule) needs to have been applied.
1. Your code shoul... | 1 | Merge pull request #124 from juandelgado/master | 1 | .md | md | mit | shouldjs/should.js |
10041000 | <NME> CONTRIBUTING.md
<BEF> Before contribute something:
Follow simple rules:
- Not violate [DRY](http://programmer.97things.oreilly.com/wiki/index.php/Don%27t_Repeat_Yourself).
- [Boy Scout Rule](http://programmer.97things.oreilly.com/wiki/index.php/The_Boy_Scout_Rule) needs to have been applied.
1. Your code shoul... | 1 | Merge pull request #124 from juandelgado/master | 1 | .md | md | mit | shouldjs/should.js |
10041001 | <NME> .travis.yml
<BEF> language: node_js
node_js:
- 6
script:
- test $SAUCE_USERNAME && npm run zuul || echo 'not running on saucelabs'
- npm test
env:
global:
- secure: aB4+vAj+mJHqQfnq9x10eZ5//erfxecs3l9u/oSJX1Ok+WLrpUW0x3qpaC1bEEPq4bkAuIifxohnPv0XTE3m8GyTfRHzqmeNnNQNsnex3IzunbU4aG7QyS3jFa6gjT5OrgPA+eHobNXBvwASZ... | 1 | Travis uses node 8 | 1 | .yml | travis | mit | shouldjs/should.js |
10041002 | <NME> .travis.yml
<BEF> language: node_js
node_js:
- 6
script:
- test $SAUCE_USERNAME && npm run zuul || echo 'not running on saucelabs'
- npm test
env:
global:
- secure: aB4+vAj+mJHqQfnq9x10eZ5//erfxecs3l9u/oSJX1Ok+WLrpUW0x3qpaC1bEEPq4bkAuIifxohnPv0XTE3m8GyTfRHzqmeNnNQNsnex3IzunbU4aG7QyS3jFa6gjT5OrgPA+eHobNXBvwASZ... | 1 | Travis uses node 8 | 1 | .yml | travis | mit | shouldjs/should.js |
10041003 | <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 | Revert not tested .valueOf edge case | 4 | .js | js | mit | shouldjs/should.js |
10041004 | <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 | Revert not tested .valueOf edge case | 4 | .js | js | mit | shouldjs/should.js |
10041005 | <NME> promise.test.js
<BEF> ADDFILE
<MSG> Move should-promised to main repo
<DFF> @@ -0,0 +1,144 @@
+var err = require('../util').err;
+var should = require('../../');
+
+var Promise = require('bluebird');
+
+function promised(value) {
+ return new Promise(function(resolve, reject) {
+ resolve(value);
+ });
+}
+
... | 144 | Move should-promised to main repo | 0 | .js | test | mit | shouldjs/should.js |
10041006 | <NME> promise.test.js
<BEF> ADDFILE
<MSG> Move should-promised to main repo
<DFF> @@ -0,0 +1,144 @@
+var err = require('../util').err;
+var should = require('../../');
+
+var Promise = require('bluebird');
+
+function promised(value) {
+ return new Promise(function(resolve, reject) {
+ resolve(value);
+ });
+}
+
... | 144 | Move should-promised to main repo | 0 | .js | test | mit | shouldjs/should.js |
10041007 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 2 | Update Readme.md | 2 | .md | md | mit | shouldjs/should.js |
10041008 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 2 | Update Readme.md | 2 | .md | md | mit | shouldjs/should.js |
10041009 | <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... | 4 | Release 3.2.0 | 4 | .js | js | mit | shouldjs/should.js |
10041010 | <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... | 4 | Release 3.2.0 | 4 | .js | js | mit | shouldjs/should.js |
10041011 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v5.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: '... | 2 | Release 5.0.1 | 1 | .js | js | mit | shouldjs/should.js |
10041012 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v5.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: '... | 2 | Release 5.0.1 | 1 | .js | js | mit | shouldjs/should.js |
10041013 | <NME> should.js <BEF> /** * should - test framework agnostic BDD-style assertions * @version v4.4.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', var util... | 47 | Release 4.4.2 | 69 | .js | js | mit | shouldjs/should.js |
10041014 | <NME> should.js <BEF> /** * should - test framework agnostic BDD-style assertions * @version v4.4.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', var util... | 47 | Release 4.4.2 | 69 | .js | js | mit | shouldjs/should.js |
10041015 | <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 | A bit more clear message | 1 | .js | test | mit | shouldjs/should.js |
10041016 | <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 | A bit more clear message | 1 | .js | test | mit | shouldjs/should.js |
10041017 | <NME> History.md
<BEF> 13.0.1 / 2017-09-06
===================
* Add missng umd bundle for browser
13.0.0 / 2017-09-05
===================
* Removed `.enumerable` and `.enumerables`
* Fixed `.match`ing on `Date`s
* Added TypeScript definitions
12.0.0 / 2017-08-28
===================
* Revert default expor... | 9 | Fill history | 2 | .md | md | mit | shouldjs/should.js |
10041018 | <NME> History.md
<BEF> 13.0.1 / 2017-09-06
===================
* Add missng umd bundle for browser
13.0.0 / 2017-09-05
===================
* Removed `.enumerable` and `.enumerables`
* Fixed `.match`ing on `Date`s
* Added TypeScript definitions
12.0.0 / 2017-08-28
===================
* Revert default expor... | 9 | Fill history | 2 | .md | md | mit | shouldjs/should.js |
10041019 | <NME> Readme.md
<BEF> # should.js
It extends the Object prototype with a single non-enumerable getter that allows you to express how that object should behave.
_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.eq... | 1 | Fix Typo in readme, asset -> assert | 1 | .md | md | mit | shouldjs/should.js |
10041020 | <NME> Readme.md
<BEF> # should.js
It extends the Object prototype with a single non-enumerable getter that allows you to express how that object should behave.
_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.eq... | 1 | Fix Typo in readme, asset -> assert | 1 | .md | md | mit | shouldjs/should.js |
10041021 | <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 | Allow dates to be formatted as ISOStrings (to display ms). Closes #145. | 0 | .js | test | mit | shouldjs/should.js |
10041022 | <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 | Allow dates to be formatted as ISOStrings (to display ms). Closes #145. | 0 | .js | test | mit | shouldjs/should.js |
10041023 | <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 {
} catch (err) {
if(err.message !== msg) {
throw new should.AssertionError({
message: 'Expected message does not match, \n expected: '... | 1 | Added .propertyByPath assertion | 1 | .js | js | mit | shouldjs/should.js |
10041024 | <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 {
} catch (err) {
if(err.message !== msg) {
throw new should.AssertionError({
message: 'Expected message does not match, \n expected: '... | 1 | Added .propertyByPath assertion | 1 | .js | js | mit | shouldjs/should.js |
10041025 | <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... | 14 | Release 3.3.0 | 0 | .js | js | mit | shouldjs/should.js |
10041026 | <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... | 14 | Release 3.3.0 | 0 | .js | js | mit | shouldjs/should.js |
10041027 | <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 | Move .contain* methods | 0 | .js | js | mit | shouldjs/should.js |
10041028 | <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 | Move .contain* methods | 0 | .js | js | mit | shouldjs/should.js |
10041029 | <NME> match.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 { formatProp } from "../format";
import { some, forEach } from "should-type-adaptors";
import eql from "sho... | 2 | Merge pull request #106 from joshrickert/patch-1 | 2 | .js | js | mit | shouldjs/should.js |
10041030 | <NME> match.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 { formatProp } from "../format";
import { some, forEach } from "should-type-adaptors";
import eql from "sho... | 2 | Merge pull request #106 from joshrickert/patch-1 | 2 | .js | js | mit | shouldjs/should.js |
10041031 | <NME> match.test.js
<BEF> var err = require("../util").err;
describe("match", function() {
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)
err(function()... | 2 | Added jsdoc comments | 2 | .js | test | mit | shouldjs/should.js |
10041032 | <NME> match.test.js
<BEF> var err = require("../util").err;
describe("match", function() {
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)
err(function()... | 2 | Added jsdoc comments | 2 | .js | test | mit | shouldjs/should.js |
10041033 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v8.1.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: ... | 71 | Release 8.2.0 | 22 | .js | js | mit | shouldjs/should.js |
10041034 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v8.1.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: ... | 71 | Release 8.2.0 | 22 | .js | js | mit | shouldjs/should.js |
10041035 | <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... | 4 | Merge pull request #140 from carldunham/feature/cd/add-equals-eqls | 0 | .js | js | mit | shouldjs/should.js |
10041036 | <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... | 4 | Merge pull request #140 from carldunham/feature/cd/add-equals-eqls | 0 | .js | js | mit | shouldjs/should.js |
10041037 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 1 | minor typo | 1 | .md | md | mit | shouldjs/should.js |
10041038 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
[![Selenium Test Status]... | 1 | minor typo | 1 | .md | md | mit | shouldjs/should.js |
10041039 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
_should_ is an expressiv... | 6 | Merge branch '5.x' of github.com:shouldjs/should.js into 5.x | 12 | .md | md | mit | shouldjs/should.js |
10041040 | <NME> Readme.md
<BEF> # should.js
[](https://gitter.im/shouldjs/should.js)
[](https://travis-ci.org/shouldjs/should.js)
_should_ is an expressiv... | 6 | Merge branch '5.x' of github.com:shouldjs/should.js into 5.x | 12 | .md | md | mit | shouldjs/should.js |
10041041 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v13.2.3 * @author TJ Holowaychuk <tj@vision-media.ca>, Denis Bardadym <bardadymchik@gmail.com> * @link https://github.com/shouldjs/should.js * @license MIT */ (function () { 'use strict'; var types = { NUMBER: 'number', UNDEFIN... | 2 | Updated build | 1 | .js | js | mit | shouldjs/should.js |
10041042 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v13.2.3 * @author TJ Holowaychuk <tj@vision-media.ca>, Denis Bardadym <bardadymchik@gmail.com> * @link https://github.com/shouldjs/should.js * @license MIT */ (function () { 'use strict'; var types = { NUMBER: 'number', UNDEFIN... | 2 | Updated build | 1 | .js | js | mit | shouldjs/should.js |
10041043 | <NME> .eslintrc.yml
<BEF> ADDFILE
<MSG> Update eslint config
<DFF> @@ -0,0 +1,51 @@
+---
+root: true
+
+extends: eslint:recommended
+
+env:
+ node: true
+ mocha: true
+
+# enable ECMAScript features
+ecmaFeatures:
+ arrowFunctions: true
+ binaryLiterals: true
+ blockBindings: true
+ classes: true
+ forOf: true
... | 51 | Update eslint config | 0 | .yml | eslintrc | mit | shouldjs/should.js |
10041044 | <NME> .eslintrc.yml
<BEF> ADDFILE
<MSG> Update eslint config
<DFF> @@ -0,0 +1,51 @@
+---
+root: true
+
+extends: eslint:recommended
+
+env:
+ node: true
+ mocha: true
+
+# enable ECMAScript features
+ecmaFeatures:
+ arrowFunctions: true
+ binaryLiterals: true
+ blockBindings: true
+ classes: true
+ forOf: true
... | 51 | Update eslint config | 0 | .yml | eslintrc | mit | shouldjs/should.js |
10041045 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v7.0.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: ... | 104 | Release 7.1.0 | 2 | .js | js | mit | shouldjs/should.js |
10041046 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v7.0.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: ... | 104 | Release 7.1.0 | 2 | .js | js | mit | shouldjs/should.js |
10041047 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v13.1.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 13.2.0 | 1 | .js | js | mit | shouldjs/should.js |
10041048 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v13.1.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 13.2.0 | 1 | .js | js | mit | shouldjs/should.js |
10041049 | <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 |