Skip to content

Commit

Permalink
updated unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
unicar9 committed Dec 29, 2020
1 parent c52c412 commit 0b27abf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 640 deletions.
2 changes: 1 addition & 1 deletion .neutrinorc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = {
}
}),
jest({
setupTestFrameworkScriptFile: '<rootDir>/src/setupTests.js'
setupFilesAfterEnv: ['<rootDir>/src/setupTests.js']
})
]
};
4 changes: 3 additions & 1 deletion src/components/ConfigMenu/ConfigMenu.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ describe('ConfigMenu', () => {
colorStayChecked: false,
onColorStayChange: jest.fn(),
selected: 'test',
onBgOptionChange: jest.fn()
onBgOptionChange: jest.fn(),
isVerticalVerses: false,
onVersesLayoutChange: jest.fn()
}

it('should render correctly', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`ConfigMenu should render correctly 1`] = `ShallowWrapper {}`;
Loading

0 comments on commit 0b27abf

Please sign in to comment.