Skip to content

Commit b674e48

Browse files
Ross MoodyRoss Moody
Ross Moody
authored and
Ross Moody
committed
Test fixes
1 parent 1e2bfc9 commit b674e48

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/test/brave_webtorrent/components/torrentViewerFooter_test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe('torrentViewerFooter component', () => {
2424
const wrapper = shallow(
2525
<TorrentViewerFooter />
2626
)
27-
const assertion = wrapper.find('.privacy-warning')
27+
const assertion = wrapper.find('.privacyNotice')
2828
expect(assertion.length).toBe(1)
2929
})
3030
})

components/test/brave_webtorrent/components/torrentViewerHeader_test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe('torrentViewerHeader component', () => {
4141
/>
4242
</TestThemeProvider>
4343
)
44-
expect(wrapper.html()).toEqual(expect.stringContaining('Stop Download'))
44+
expect(wrapper.html()).toEqual(expect.stringContaining('Stop Torrent'))
4545
})
4646
})
4747
})

0 commit comments

Comments
 (0)