Skip to content

Commit c5fe82c

Browse files
committed
test: add inital tests
1 parent 0ca94d5 commit c5fe82c

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`it contains expected keys 1`] = `
4+
Array [
5+
"clearMocks",
6+
"collectCoverage",
7+
"coverageDirectory",
8+
"coverageReporters",
9+
"coverageThreshold",
10+
"moduleFileExtensions",
11+
"setupFiles",
12+
"testEnvironment",
13+
"testMatch",
14+
"verbose",
15+
]
16+
`;

__tests__/index.test.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
"use strict"
2+
3+
const preset = require("../jest-preset.json");
4+
test('it contains expected keys', () => {
5+
expect(Object.keys(preset)).toMatchSnapshot();
6+
});

0 commit comments

Comments
 (0)