Socket
Socket
Sign inDemoInstall

jest-environment-knex

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-environment-knex - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

lib/jest-environment-knex.d.ts

14

package.json
{
"name": "jest-environment-knex",
"version": "2.0.0",
"main": "./dist/src/jest-environment-knex.js",
"types": "./dist/src/jest-environment-knex.d.ts",
"version": "3.0.0",
"main": "./lib/jest-environment-knex.js",
"types": "./lib/jest-environment-knex.d.ts",
"files": [
"dist"
"lib"
],
"scripts": {
"build": "tsc",
"build": "tsc -p tsconfig.build.json",
"lint": "tslint -p tsconfig.json -t stylish",
"test": "jest",
"coverage": "jest --coverage",
"test:sqlite3": "jest --config ./__tests__/sqlite3/jest.config.js",

@@ -26,4 +28,6 @@ "test:postgres": "jest --config ./__tests__/postgres/jest.config.js",

"@types/jest": "^26.0.14",
"@types/jest-when": "^2.7.1",
"@types/node": "^12.12.31",
"jest": "^26.4.2",
"jest-when": "^2.7.2",
"pg": "^8.3.3",

@@ -30,0 +34,0 @@ "prettier": "^2.1.2",

# jest-environment-knex
[![Build Status][travis-image]][travis-url]
[![Github Master CI Status](https://github.com/SocialGouv/jest-environment-knex/workflows/ci/badge.svg?branch=master)](https://github.com/SocialGouv/jest-environment-knex/actions/)
[![codecov](https://codecov.io/gh/SocialGouv/jest-environment-knex/branch/master/graph/badge.svg)](https://codecov.io/gh/SocialGouv/jest-environment-knex)
[![NPM version][npm-image]][npm-url]

@@ -34,28 +35,10 @@

const results = await knex.raw(query, [knex.client.database()]);
expect(results.rows.map(row => row.table_name).sort()).toMatchSnapshot();
expect(results.rows.map((row) => row.table_name).sort()).toMatchSnapshot();
});
```
## Release policy
### Auto
Releases are automaticly made through our [GitHub Actions](https://github.com/SocialGouv/jest-environment-knex/actions) strictly following the [Semantic Versioning](http://semver.org/) specification thanks to [semantic-release](https://github.com/semantic-release/semantic-release).
Trigger a custom build on [Travis][travis-url] (in the "More options" right menu) on the `master` branch with a custom config:
```yml
env:
global:
- RELEASE=true
```
You can change the lerna arguments though the `LERNA_ARGS` variable.
```yml
env:
global:
- STANDARD_VERSION_ARGS="--release-as major"
- RELEASE=true
```
[npm-url]: https://npmjs.org/package/jest-environment-knex

@@ -62,0 +45,0 @@ [npm-image]: http://img.shields.io/npm/v/jest-environment-knex.svg

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