Updated testing with proper indentation

Uses two spaces instead of hard tabs.
This commit is contained in:
Angelos Chalaris
2018-01-24 17:53:36 +02:00
parent 12694c3cb0
commit 9217979f80
279 changed files with 2463 additions and 2463 deletions

View File

@ -68,13 +68,13 @@ snippetFiles
`const test = require('tape');`,
`const ${fileName} = require('./${fileName}.js');`,
`\ntest('Testing ${fileName}', (t) => {`,
`\t//For more information on all the methods supported by tape\n\t//Please go to https://github.com/substack/tape`,
`\tt.true(typeof ${fileName} === 'function', '${fileName} is a Function');`,
`\t//t.deepEqual(${fileName}(args..), 'Expected');`,
`\t//t.equal(${fileName}(args..), 'Expected');`,
`\t//t.false(${fileName}(args..), 'Expected');`,
`\t//t.throws(${fileName}(args..), 'Expected');`,
`\tt.end();`,
` //For more information on all the methods supported by tape\n //Please go to https://github.com/substack/tape`,
` t.true(typeof ${fileName} === 'function', '${fileName} is a Function');`,
` //t.deepEqual(${fileName}(args..), 'Expected');`,
` //t.equal(${fileName}(args..), 'Expected');`,
` //t.false(${fileName}(args..), 'Expected');`,
` //t.throws(${fileName}(args..), 'Expected');`,
` t.end();`,
`});`
].join('\n');

View File

@ -1,4 +1,4 @@
Test log for: Wed Jan 24 2018 17:48:46 GMT+0200 (GTB Standard Time)
Test log for: Wed Jan 24 2018 17:52:14 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
@ -1476,6 +1476,6 @@ Test log for: Wed Jan 24 2018 17:48:46 GMT+0200 (GTB Standard Time)
total: 638
passing: 638
duration: 418ms
duration: 417ms