Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

section-tests

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

section-tests - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc