Skip to content

Commit

Permalink
add todo unit tests for PrivateLink view
Browse files Browse the repository at this point in the history
  • Loading branch information
saw-jan committed Aug 30, 2021
1 parent 151d025 commit 59543b8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/web-app-files/tests/unit/views/PrivateLink.spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
describe('PrivateLink view', () => {
describe('when the page has loaded successfully', () => {
it.todo('should have the background image set')
it.todo('should display the page title')
it.todo('should display the logo')
it.todo('should call "getPathForFileId" method')
})

describe('when "loading" is set as true', () => {
it.todo('should display the loading text with the spinner')
})

describe('when there is error', () => {
it.todo('should display the error message')
})
})

0 comments on commit 59543b8

Please sign in to comment.