Skip to content

Commit

Permalink
refactor: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vonovak committed Apr 22, 2024
1 parent 2571dde commit 228c4e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/overflowMenu/__tests__/OverflowMenuProvider.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,14 @@ describe('HeaderButtonsProvider renders', () => {

const filteredIos = outputIos
.split('\n')
.filter((line) => line.includes('/header-buttons/src'))
.filter((line) => line.includes('header-buttons/src'))
.map((path) => {
// return file name only
return path.split('/').pop();
});
const filteredAndroid = outputAndroid
.split('\n')
.filter((line) => line.includes('/header-buttons/src'))
.filter((line) => line.includes('header-buttons/src'))
.map((path) => {
// return file name only
return path.split('/').pop();
Expand Down

0 comments on commit 228c4e1

Please sign in to comment.