section-tests
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "section-tests", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "TDD for node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -69,2 +69,5 @@ { | ||
convertError(err) { | ||
err.returnStructured = true; | ||
const data = { | ||
@@ -95,5 +98,2 @@ stack: this.formatStackTrace(err) | ||
const frames = []; | ||
err.returnStructured = true; | ||
const stack = err.stack; | ||
@@ -100,0 +100,0 @@ |
@@ -31,3 +31,3 @@ { | ||
section.test('delete', async () => { | ||
section.test('some method without a name', async () => { | ||
//log('testing'); | ||
@@ -45,6 +45,3 @@ }); | ||
//log('testing'); | ||
section.warn('not good'); | ||
section.info('not good'); | ||
section.success('not good'); | ||
section.error('not good'); | ||
}); | ||
@@ -57,3 +54,3 @@ | ||
section.test('delete all', async () => { | ||
section.test('bulk create the good stuff', async () => { | ||
//log('testing'); | ||
@@ -75,11 +72,63 @@ }); | ||
}) | ||
section('Event', (section) => { | ||
section.test('create', async () => { | ||
//log('testing'); | ||
}); | ||
section.test('update', async () => { | ||
//log('testing'); | ||
}); | ||
section.test('read', async () => { | ||
//log('testing'); | ||
}); | ||
section.test('delete', async () => { | ||
//log('testing'); | ||
}); | ||
}); | ||
}); | ||
section('Integration', (section) => { | ||
section.test('create', async () => { | ||
//log('testing'); | ||
}); | ||
section.test('update', async () => { | ||
//log('testing'); | ||
}); | ||
section.setup(() => { | ||
section.warn('not good'); | ||
section.test('read', async () => { | ||
//log('testing'); | ||
}); | ||
section.test('delete', async () => { | ||
//log('testing'); | ||
}); | ||
}); | ||
section.setup('Setting things up', () => { | ||
section.warn('pay attention, there stuff happening ...'); | ||
section.info('creating things ..'); | ||
section.info('updateing things ....'); | ||
}); | ||
section.destroy('Stopping services', () => { | ||
section.info('you should probably know :/'); | ||
section.warn('think twice ...'); | ||
section.error('uh, really? proably not good :)'); | ||
section.success(`yep, that's nice!`); | ||
}); | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
115193
684