Skip to content

Commit

Permalink
test: add inital tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ntwb committed Mar 25, 2018
1 parent 0ca94d5 commit c5fe82c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
16 changes: 16 additions & 0 deletions __tests__/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`it contains expected keys 1`] = `
Array [
"clearMocks",
"collectCoverage",
"coverageDirectory",
"coverageReporters",
"coverageThreshold",
"moduleFileExtensions",
"setupFiles",
"testEnvironment",
"testMatch",
"verbose",
]
`;
6 changes: 6 additions & 0 deletions __tests__/index.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"use strict"

const preset = require("../jest-preset.json");
test('it contains expected keys', () => {
expect(Object.keys(preset)).toMatchSnapshot();
});

0 comments on commit c5fe82c

Please sign in to comment.