Socket
Book a DemoInstallSign in
Socket

@scotia/jester

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scotia/jester

Jest Helpers provides some extra functionality to simplify writing your unit tests.

0.4.0
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
5
Weekly downloads
 
Created
Source

jester

Jest helpers to reduce boilerplate.

install

npm install @scotia/jester

usage

Provides methods that create and run tests for to compare json objects.

api

#runSnapshotTests(Object : {})

Accepts any object and runs them through a simple snapshot test.

import jester from '@scotia/jester';
describe('object snapshot', () => {
  jester.runSnapshotTests({
    one: { two: 'three' },
    four: { five: { six: 'seven' } }
  });
});

development

Run tests

npm run test
npm run test:watch

Build

npm run build

Keywords

jest

FAQs

Package last updated on 04 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.