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

@bitdiver/logadapter

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitdiver/logadapter - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

tests/volatile/Run_suiteName_2018-12-10_095736/2018-12-10_095736_error.json

4

lib/LogAdapterFile.js

@@ -91,2 +91,6 @@ "use strict";

_getRunTargetPath(meta) {
if (meta.run.name !== undefined && meta.run.name !== '') {
return [this.targetDir, `Run_${meta.run.name}_${meta.run.startString}`];
}
return [this.targetDir, `Run_${meta.run.startString}`];

@@ -93,0 +97,0 @@ }

2

package.json
{
"name": "@bitdiver/logadapter",
"version": "1.0.4",
"version": "1.0.5",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -27,3 +27,3 @@ import { LogAdapterFile } from '../lib/index'

id: 'runId', // RunEnvironment ID
name: 'suite name',
name: 'suiteName',
},

@@ -38,3 +38,6 @@ logTime: 1544432256132,

const rootGlob = path.join(LOG_PATH, 'Run_2018-12-10_095736/**/*.json')
const rootGlob = path.join(
LOG_PATH,
'Run_suiteName_2018-12-10_095736/**/*.json'
)
const files = await globby([rootGlob])

@@ -47,3 +50,5 @@

expect(files).toEqual(['Run_2018-12-10_095736/2018-12-10_095736_error.json'])
expect(files).toEqual([
'Run_suiteName_2018-12-10_095736/2018-12-10_095736_error.json',
])
done()

@@ -67,3 +72,3 @@ })

id: 'runId', // RunEnvironment ID
name: 'suite name',
name: 'suiteName',
},

@@ -85,3 +90,6 @@ tc: {

const rootGlob = path.join(LOG_PATH, 'Run_2018-12-10_095806/**/*.json')
const rootGlob = path.join(
LOG_PATH,
'Run_suiteName_2018-12-10_095806/**/*.json'
)
const files = await globby([rootGlob])

@@ -95,3 +103,3 @@

expect(files).toEqual([
'Run_2018-12-10_095806/TC_03_great tc name/2018-12-10_095806_error.json',
'Run_suiteName_2018-12-10_095806/TC_03_great tc name/2018-12-10_095806_error.json',
])

@@ -118,3 +126,3 @@ done()

id: 'runId', // RunEnvironment ID
name: 'suite name',
name: 'suiteName',
},

@@ -142,3 +150,6 @@ tc: {

const rootGlob = path.join(LOG_PATH, 'Run_2018-12-10_095816/**/*.json')
const rootGlob = path.join(
LOG_PATH,
'Run_suiteName_2018-12-10_095816/**/*.json'
)
const files = await globby([rootGlob])

@@ -152,5 +163,5 @@

expect(files).toEqual([
'Run_2018-12-10_095816/TC_03_great tc name/Step_087_great step name/2018-12-10_095816_error.json',
'Run_suiteName_2018-12-10_095816/TC_03_great tc name/Step_087_great step name/2018-12-10_095816_error.json',
])
done()
})
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