Tests for isTravisCI
This commit is contained in:
@ -1,6 +1,3 @@
|
||||
Thu Feb 08 2018 16:08:52 GMT+0200 (GTB Standard Time)
|
||||
Hash changes: 1
|
||||
Thu Feb 08 2018 16:12:29 GMT+0200 (GTB Standard Time)
|
||||
Hash changes: 0
|
||||
|
||||
Snippet name:toCurrency
|
||||
Old hash: d1c86c6f075b79b53b74aede9669101f1a07e89cc73ccabf347ad42674b1a33c
|
||||
New hash: f00f4a2229ed6b9f98356e6b0ea9e245f1d53bdbd616eb4c2babb87d7cf350b9
|
||||
|
||||
@ -1,6 +1,3 @@
|
||||
Thu Feb 08 2018 16:08:53 GMT+0200 (GTB Standard Time)
|
||||
Hash changes: 1
|
||||
Thu Feb 08 2018 16:12:29 GMT+0200 (GTB Standard Time)
|
||||
Hash changes: 0
|
||||
|
||||
Snippet name:toCurrency
|
||||
Old hash: d1c86c6f075b79b53b74aede9669101f1a07e89cc73ccabf347ad42674b1a33c
|
||||
New hash: f00f4a2229ed6b9f98356e6b0ea9e245f1d53bdbd616eb4c2babb87d7cf350b9
|
||||
|
||||
@ -5,9 +5,13 @@ test('Testing isTravisCI', (t) => {
|
||||
//For more information on all the methods supported by tape
|
||||
//Please go to https://github.com/substack/tape
|
||||
t.true(typeof isTravisCI === 'function', 'isTravisCI is a Function');
|
||||
if(isTravisCI())
|
||||
t.true(isTravisCI(), 'Running on Travis, correctly evaluates');
|
||||
else
|
||||
t.false(isTravisCI(), 'Not running on Travis, correctly evaluates');
|
||||
//t.deepEqual(isTravisCI(args..), 'Expected');
|
||||
//t.equal(isTravisCI(args..), 'Expected');
|
||||
//t.false(isTravisCI(args..), 'Expected');
|
||||
//t.throws(isTravisCI(args..), 'Expected');
|
||||
t.end();
|
||||
});
|
||||
});
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
Test log for: Thu Feb 08 2018 16:08:45 GMT+0200 (GTB Standard Time)
|
||||
Test log for: Thu Feb 08 2018 16:12:32 GMT+0200 (GTB Standard Time)
|
||||
|
||||
> 30-seconds-of-code@0.0.1 test G:\My Files\git Repositories\30-seconds-of-code
|
||||
> tape test/**/*.test.js | tap-spec
|
||||
@ -851,6 +851,7 @@ Test log for: Thu Feb 08 2018 16:08:45 GMT+0200 (GTB Standard Time)
|
||||
Testing isTravisCI
|
||||
|
||||
√ isTravisCI is a Function
|
||||
√ Not running on Travis, correctly evaluates
|
||||
|
||||
Testing isTypedArray
|
||||
|
||||
@ -1757,8 +1758,8 @@ Test log for: Thu Feb 08 2018 16:08:45 GMT+0200 (GTB Standard Time)
|
||||
√ Works with multiple promises
|
||||
|
||||
|
||||
total: 855
|
||||
passing: 855
|
||||
total: 856
|
||||
passing: 856
|
||||
duration: 2.4s
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user