7d0919a784
* Break out client-navigation and rendering test from basic test * Try with parallelism dialed back to 3 * Update jest-junit for more compatible timings in CircleCI * Bump to test timings * Use filepath for suitename in jest-junit * Store reports as artifacts * Try using classname for timings * Bump * Remove reports from artifacts
18 lines
354 B
JavaScript
18 lines
354 B
JavaScript
import React from 'react'
|
|
|
|
export default class InstanceInitialPropsPage extends React.Component {
|
|
async getInitialProps () {
|
|
return fetchData()
|
|
}
|
|
|
|
render () {
|
|
return <p>{this.props.name}</p>
|
|
}
|
|
}
|
|
|
|
function fetchData () {
|
|
const p = new Promise(resolve => {
|
|
setTimeout(() => resolve({ name: 'Anderson Leite' }), 10)
|
|
})
|
|
return p
|
|
}
|