-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: merge develop into 32_add_is_published
Signed-off-by: Roy Scheeren <[email protected]>
- Loading branch information
Showing
4 changed files
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
import { Users } from '../../../modules/Users' | ||
|
||
export default async function Index() { | ||
const USERS_MAP = [{ | ||
name: 'John Johnson', | ||
email: '[email protected]', | ||
id: 'did:pkh:tz:tz1SfdVU1mor3Sgej3FmmwMH4HM1EjTzqqeE', | ||
}] | ||
const USERS_MAP = [ | ||
{ | ||
name: 'John Johnson', | ||
email: '[email protected]', | ||
id: 'did:pkh:tz:tz1SfdVU1mor3Sgej3FmmwMH4HM1EjTzqqeE', | ||
}, | ||
] | ||
|
||
return <Users users={USERS_MAP} /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,13 @@ import { Users } from './Users' | |
|
||
describe('Users', () => { | ||
it('should render successfully', () => { | ||
const USERS_MAP = [{ | ||
name: 'John Johnson', | ||
email: '[email protected]', | ||
id: 'did:pkh:tz:tz1SfdVU1mor3Sgej3FmmwMH4HM1EjTzqqeE', | ||
}] | ||
const USERS_MAP = [ | ||
{ | ||
name: 'John Johnson', | ||
email: '[email protected]', | ||
id: 'did:pkh:tz:tz1SfdVU1mor3Sgej3FmmwMH4HM1EjTzqqeE', | ||
}, | ||
] | ||
|
||
const { baseElement } = render(<Users users={USERS_MAP} />) | ||
expect(baseElement).toBeTruthy() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters