Skip to content

Commit

Permalink
Add __test__ to prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
jmadler committed Oct 3, 2022
1 parent 9b91dd3 commit 642db48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions __test__/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

describe("Test for initial jest setup.", () => {
test('two plus two is four', () => {
expect(2 + 2).toBe(4);
});
});
describe('Test for initial jest setup.', () => {
test('two plus two is four', () => {
expect(2 + 2).toBe(4);
});
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"prepare": "install-peers && yarn run build",
"build": "tsc",
"lint": "eslint src www --ext .js,.jsx,.ts,.tsx; prettier --check src www",
"lint": "eslint src www --ext .js,.jsx,.ts,.tsx; prettier --check src www __test__" ,
"test": "tsc && jest --coverage"
},
"devDependencies": {
Expand Down

0 comments on commit 642db48

Please sign in to comment.