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
<WebView | |
onMessage={this.updateDescription} | |
injectedJavaScript={this.injectScript} | |
source={{ html: this.html }} | |
startInLoadingState | |
style={{ | |
height: 100, | |
width | |
}} | |
/>; |
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
const puppeteer = require('puppeteer'); | |
const { defineSupportCode } = require('cucumber') | |
defineSupportCode(({ Before, Given, When, Then }) => { | |
Before({ timeout: 60 * 1000 }, async function testCase() { | |
this.browser = await puppeteer.launch() | |
}) | |
Given('I am on google with puppeteer', { timeout: 60 * 1000 }, async function testCase() { | |
this.page = await this.browser.newPage() |
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
import {handleActions} from 'redux-actions'; | |
import * as actions from '../Constants/Constants'; | |
const initialState = { | |
}; | |
const LikesReducer = handleActions({ | |
[actions.X]: state => ({ | |
...state, | |
}), |