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

hermione-test-filter

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hermione-test-filter - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

lib/utils.js

11

lib/index.js
'use strict';
const Promise = require('bluebird');
const fs = Promise.promisifyAll(require('fs'));
const _ = require('lodash');
const parseConfig = require('./config');
const utils = require('./utils');
const readInput = async (inputFile) => {
const input = await fs.readFileAsync(inputFile);
return JSON.parse(input.toString());
};
module.exports = (hermione, opts) => {

@@ -28,3 +21,3 @@ const pluginConfig = parseConfig(opts);

hermione.on(hermione.events.INIT, async () => {
input = await readInput(pluginConfig.inputFile);
input = await utils.readFile(pluginConfig.inputFile);
});

@@ -31,0 +24,0 @@

{
"name": "hermione-test-filter",
"version": "0.2.0",
"version": "0.3.0",
"description": "plugin for filtering tests specified in json-file",

@@ -27,2 +27,3 @@ "main": "lib/index.js",

"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"eslint": "^5.0.1",

@@ -29,0 +30,0 @@ "eslint-config-gemini-testing": "^2.8.0",

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