Skip to content

Commit 836dd8d

Browse files
committed
Add __test__ to prettier
1 parent 84c58de commit 836dd8d

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

__test__/index.test.ts

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
2-
describe("Test for initial jest setup.", () => {
3-
test('two plus two is four', () => {
4-
expect(2 + 2).toBe(4);
5-
});
6-
});
1+
describe('Test for initial jest setup.', () => {
2+
test('two plus two is four', () => {
3+
expect(2 + 2).toBe(4);
4+
});
5+
});

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"prepare": "install-peers && yarn run build",
1111
"build": "tsc",
12-
"lint": "eslint src www --ext .js,.jsx,.ts,.tsx; prettier --check src www",
12+
"lint": "eslint src www --ext .js,.jsx,.ts,.tsx; prettier --check src www __test__" ,
1313
"test": "tsc && jest --coverage"
1414
},
1515
"devDependencies": {

0 commit comments

Comments
 (0)