Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shinobi881/Spec_runner
/ functions
Functions
137 in github.com/Shinobi881/Spec_runner
⨍
Functions
137
◇
Types & classes
0
↓ 93 callers
Function
require
(p)
lib/bower_components/mocha/mocha.js:5
↓ 44 callers
Function
require
* Require the given path. * * @param {String} path * @return {Object} exports * @api public
lib/bower_components/chai/chai.js:11
↓ 22 callers
Function
write
* Stdout helper.
lib/bower_components/mocha/mocha.js:3643
↓ 13 callers
Function
indent
()
lib/bower_components/mocha/mocha.js:2328
↓ 9 callers
Function
fragment
* Return a DOM fragment from `html`.
lib/bower_components/mocha/mocha.js:2694
↓ 7 callers
Function
done
(err)
lib/bower_components/mocha/mocha.js:4231
↓ 6 callers
Function
colorLines
* Color lines for `str`, using the color `name`. * * @param {String} name * @param {String} str * @return {String} * @api private
lib/bower_components/mocha/mocha.js:2260
↓ 6 callers
Function
tag
* HTML tag helper.
lib/bower_components/mocha/mocha.js:4024
↓ 4 callers
Function
isArray
* Check if `obj` is an array.
lib/bower_components/mocha/mocha.js:429
↓ 4 callers
Function
objectToString
(o)
lib/bower_components/chai/chai.js:4303
↓ 4 callers
Function
plural
* Pluralization helper.
lib/bower_components/mocha/mocha.js:1813
↓ 4 callers
Function
sameValue
(a, b)
lib/bower_components/chai/chai.js:531
↓ 4 callers
Function
title
(str)
lib/bower_components/mocha/mocha.js:3280
↓ 3 callers
Function
contextLines
(lines)
lib/bower_components/mocha/mocha.js:254
↓ 3 callers
Function
draw
(color, n)
lib/bower_components/mocha/mocha.js:3476
↓ 3 callers
Function
escapeInvisibles
* Returns a string with all invisible characters in plain text * * @param {String} line * @return {String} * @api private
lib/bower_components/mocha/mocha.js:2245
↓ 3 callers
Function
formatProperty
(ctx, value, recurseTimes, visibleKeys, key, array)
lib/bower_components/chai/chai.js:4206
↓ 3 callers
Function
formatValue
(ctx, value, recurseTimes)
lib/bower_components/chai/chai.js:4045
↓ 3 callers
Function
getType
* ### typeOf (obj) * * Use several different techniques to determine * the type of object being tested. * * * @param {Mixed} object * @return {
lib/bower_components/chai/chai.js:353
↓ 3 callers
Function
isError
(e)
lib/bower_components/chai/chai.js:4299
↓ 3 callers
Function
isRegExp
(re)
lib/bower_components/chai/chai.js:4291
↓ 3 callers
Function
isSubsetOf
(subset, superset)
lib/bower_components/chai/chai.js:2162
↓ 3 callers
Function
next
(i)
lib/bower_components/mocha/mocha.js:4512
↓ 3 callers
Function
on
()
lib/bower_components/mocha/mocha.js:474
↓ 3 callers
Function
text
* Set `el` text to `str`.
lib/bower_components/mocha/mocha.js:2737
↓ 2 callers
Function
bridgeString1
(myInputString)
exercises/rawstrings.js:23
↓ 2 callers
Function
clean
* Return a plain-object representation of `test` * free of cyclic properties etc. * * @param {Object} test * @return {Object} * @api private
lib/bower_components/mocha/mocha.js:2928
↓ 2 callers
Function
clonePath
(path)
lib/bower_components/mocha/mocha.js:78
↓ 2 callers
Function
deepEqual
* Assert super-strict (egal) equality between * two objects of any type. * * @param {Mixed} a * @param {Mixed} b * @param {Array} memoised (optio
lib/bower_components/chai/chai.js:501
↓ 2 callers
Function
enumerable
(a)
lib/bower_components/chai/chai.js:604
↓ 2 callers
Function
eofNL
(curRange, i, current)
lib/bower_components/mocha/mocha.js:257
↓ 2 callers
Function
exclude
()
lib/bower_components/chai/chai.js:219
↓ 2 callers
Function
formatError
(value)
lib/bower_components/chai/chai.js:4181
↓ 2 callers
Function
generateTOC
(suite)
lib/bower_components/mocha/mocha.js:3311
↓ 2 callers
Function
hideSuitesWithout
* Check for suites that do not have elements * with `classname`, and hide them.
lib/bower_components/mocha/mocha.js:2714
↓ 2 callers
Function
image
* Return image `name` path. * * @param {String} name * @return {String} * @api private
lib/bower_components/mocha/mocha.js:1406
↓ 2 callers
Function
isDate
(d)
lib/bower_components/chai/chai.js:4295
↓ 2 callers
Function
isValue
(a)
lib/bower_components/chai/chai.js:657
↓ 2 callers
Function
iterableEqual
(a, b)
lib/bower_components/chai/chai.js:619
↓ 2 callers
Function
printLetter1
()
exercises/rawstrings.js:13
↓ 2 callers
Function
removeEmpty
(array)
lib/bower_components/mocha/mocha.js:81
↓ 2 callers
Function
runway
()
lib/bower_components/mocha/mocha.js:3128
↓ 2 callers
Function
stringify
* Stringify `obj`. * * @param {Mixed} obj * @return {String} * @api private
lib/bower_components/mocha/mocha.js:2274
↓ 2 callers
Function
unhide
* Unhide .hidden suites.
lib/bower_components/mocha/mocha.js:2726
↓ 1 callers
Function
_getPathValue
(parsed, obj)
lib/bower_components/chai/chai.js:3817
↓ 1 callers
Function
argumentsEqual
(a, b, m)
lib/bower_components/chai/chai.js:590
↓ 1 callers
Function
bufferEqual
(a, b)
lib/bower_components/chai/chai.js:644
↓ 1 callers
Function
cdata
* Return cdata escaped CDATA `str`.
lib/bower_components/mocha/mocha.js:4042
↓ 1 callers
Function
coverage
* Map jscoverage data for a single source file * to a JSON structure suitable for reporting. * * @param {String} filename name of the source file
lib/bower_components/mocha/mocha.js:2885
↓ 1 callers
Function
dateEqual
(a, b)
lib/bower_components/chai/chai.js:560
↓ 1 callers
Function
error
* Display error `msg`.
lib/bower_components/mocha/mocha.js:2686
↓ 1 callers
Function
errorDiff
* Return a character diff for `err`. * * @param {Error} err * @return {String} * @api private
lib/bower_components/mocha/mocha.js:2228
↓ 1 callers
Function
escapeHTML
(s)
lib/bower_components/mocha/mocha.js:90
↓ 1 callers
Function
excludeProps
(res, obj)
lib/bower_components/chai/chai.js:222
↓ 1 callers
Function
filterLeaks
* Filter leaks with the given globals flagged as `ok`. * * @param {Array} ok * @param {Array} globals * @return {Array} * @api private
lib/bower_components/mocha/mocha.js:4815
↓ 1 callers
Function
formatArray
(ctx, value, recurseTimes, visibleKeys, keys)
lib/bower_components/chai/chai.js:4186
↓ 1 callers
Function
formatPrimitive
(ctx, value)
lib/bower_components/chai/chai.js:4157
↓ 1 callers
Function
getOuterHTML
(element)
lib/bower_components/chai/chai.js:4016
↓ 1 callers
Function
highlight
* Highlight the given string of `js`. * * @param {String} js * @return {String} * @api private
lib/bower_components/mocha/mocha.js:5443
↓ 1 callers
Function
inlineDiff
* Returns an inline diff between 2 strings with coloured ANSI output * * @param {Error} Error with actual/expected * @return {String} Diff * @api
lib/bower_components/mocha/mocha.js:2162
↓ 1 callers
Function
inspect
* Echos the value of a value. Trys to print the value out * in the best way possible given the different types. * * @param {Object} obj The object
lib/bower_components/chai/chai.js:4006
↓ 1 callers
Function
isArray
(ar)
lib/bower_components/chai/chai.js:4286
↓ 1 callers
Function
isDOMElement
(object)
lib/bower_components/chai/chai.js:4034
↓ 1 callers
Function
lastIndexOf
* lastIndexOf helper.
lib/bower_components/chai/chai.js:157
↓ 1 callers
Function
long
* Long format for `ms`. * * @param {Number} ms * @return {String} * @api private
lib/bower_components/mocha/mocha.js:1801
↓ 1 callers
Function
map
* Map jscoverage data to a JSON structure * suitable for reporting. * * @param {Object} cov * @return {Object} * @api private
lib/bower_components/mocha/mocha.js:2846
↓ 1 callers
Function
mapTOC
(suite, obj)
lib/bower_components/mocha/mocha.js:3288
↓ 1 callers
Function
multiple
(err)
lib/bower_components/mocha/mocha.js:4224
↓ 1 callers
Function
objectEqual
(a, b, m)
lib/bower_components/chai/chai.js:672
↓ 1 callers
Function
pad
* Pad the given `str` to `len`. * * @param {String} str * @param {String} len * @return {String} * @api private
lib/bower_components/mocha/mocha.js:2148
↓ 1 callers
Function
parse
* Parse the given `str` and return milliseconds. * * @param {String} str * @return {Number} * @api private
lib/bower_components/mocha/mocha.js:1746
↓ 1 callers
Function
parsePath
(path)
lib/bower_components/chai/chai.js:3792
↓ 1 callers
Function
reduceToSingleString
(output, base, braces)
lib/bower_components/chai/chai.js:4266
↓ 1 callers
Function
regexpEqual
(a, b)
lib/bower_components/chai/chai.js:574
↓ 1 callers
Function
sameType
* Check that a / b have the same type. * * @param {Object} a * @param {Object} b * @return {Boolean} * @api private
lib/bower_components/mocha/mocha.js:2288
↓ 1 callers
Function
short
* Short format for `ms`. * * @param {Number} ms * @return {String} * @api private
lib/bower_components/mocha/mocha.js:1785
↓ 1 callers
Function
stringifyTOC
(obj, level)
lib/bower_components/mocha/mocha.js:3297
↓ 1 callers
Function
test
* Output tag for the given `test.`
lib/bower_components/mocha/mocha.js:4002
↓ 1 callers
Function
typeEqual
(a, b)
lib/bower_components/chai/chai.js:547
↓ 1 callers
Function
unifiedDiff
* Returns a unified diff between 2 strings * * @param {Error} Error with actual/expected * @return {String} Diff * @api private
lib/bower_components/mocha/mocha.js:2196
Function
Assertion
(obj, msg, stack)
lib/bower_components/chai/chai.js:838
Function
AssertionError
* ### AssertionError * * An extension of the JavaScript `Error` constructor for * assertion and validation scenarios. * * @param {String} message
lib/bower_components/chai/chai.js:258
Function
Base
* Initialize a new `Base` reporter. * * All other reporters generally * inherit from this reporter, providing * stats such as test duration, numbe
lib/bower_components/mocha/mocha.js:2040
Function
Context
* Initialize a new `Context`. * * @api private
lib/bower_components/mocha/mocha.js:766
Function
Diff
(ignoreWhitespace)
lib/bower_components/mocha/mocha.js:100
Function
Doc
* Initialize a new `Doc` reporter. * * @param {Runner} runner * @api public
lib/bower_components/mocha/mocha.js:2320
Function
Dot
* Initialize a new `Dot` matrix test reporter. * * @param {Runner} runner * @api public
lib/bower_components/mocha/mocha.js:2380
Function
EventEmitter
* Event emitter constructor. * * @api public
lib/bower_components/mocha/mocha.js:439
Function
F
* Inherit from `Runnable.prototype`.
lib/bower_components/mocha/mocha.js:856
Function
HTML
* Initialize a new `HTML` reporter. * * @param {Runner} runner * @api public
lib/bower_components/mocha/mocha.js:2526
Function
HTMLCov
* Initialize a new `JsCoverage` reporter. * * @param {Runner} runner * @api public
lib/bower_components/mocha/mocha.js:2449
Function
Hook
* Initialize a new `Hook` with the given `title` and callback `fn`. * * @param {String} title * @param {Function} fn * @api private
lib/bower_components/mocha/mocha.js:847
Function
JSONCov
* Initialize a new `JsCoverage` reporter. * * @param {Runner} runner * @param {Boolean} output * @api public
lib/bower_components/mocha/mocha.js:2803
Function
JSONReporter
* Initialize a new `JSON` reporter. * * @param {Runner} runner * @api public
lib/bower_components/mocha/mocha.js:3025
Function
Landing
* Initialize a new `Landing` reporter. * * @param {Runner} runner * @api public
lib/bower_components/mocha/mocha.js:3116
Function
Library
* ### Library * * Create a repository for custom type detection. * * ```js * var lib = new type.Library; * ``` *
lib/bower_components/chai/chai.js:375
Function
List
* Initialize a new `List` test reporter. * * @param {Runner} runner * @api public
lib/bower_components/mocha/mocha.js:2960
Function
Markdown
* Initialize a new `Markdown` reporter. * * @param {Runner} runner * @api public
lib/bower_components/mocha/mocha.js:3272
Function
Min
* Initialize a new `Min` minimal test reporter (best used with --watch). * * @param {Runner} runner * @api public
lib/bower_components/mocha/mocha.js:3366
Function
Mocha
* Setup mocha with `options`. * * Options: * * - `ui` name "bdd", "tdd", "exports" etc * - `reporter` reporter instance, defaults to `mocha.r
lib/bower_components/mocha/mocha.js:1428
next →
1–100 of 137, ranked by callers