Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
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.

latest
Source
npmnpm
Version
0.4.0
Version published
Maintainers
5
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