Skip to content

Instantly share code, notes, and snippets.

View joemckie's full-sized avatar

Joe McKie joemckie

View GitHub Profile
Error: node_modules/metro-bundler/src/Bundler/index.js.flow:572
572: .then(postProcess)
^^^^^^^^^^^ null. This type is incompatible with the expected param type of
601: onFulfill?: (value: R) => Promise<U> | U,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function type. See lib: /private/tmp/flow/flowlib_126f38a6/core.js:601
Error: node_modules/metro-bundler/src/ModuleGraph/types.flow.js.flow:16
16: import type {Console} from 'console';
^^^^^^^^^ console. Required module not found
dependencies:
pre:
# Install Yarn
- sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
override:
- yarn
cache_directories:
[INFO - 2015-07-22T12:00:20.798Z] GhostDriver - Main - running on port 53643
[INFO - 2015-07-22T12:00:20.942Z] Session [3a1d82a0-3069-11e5-81d9-3f08abd67bb3] - page.settings - {"XSSAuditingEnabled":false,"javascriptCanCloseWindows":true,"javascriptCanOpenWindows":true,"javascriptEnabled":true,"loadImages":true,"localToRemoteUrlAccessEnabled":false,"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.8 Safari/534.34","webSecurityEnabled":true}
[INFO - 2015-07-22T12:00:20.942Z] Session [3a1d82a0-3069-11e5-81d9-3f08abd67bb3] - page.customHeaders: - {}
[INFO - 2015-07-22T12:00:20.942Z] Session [3a1d82a0-3069-11e5-81d9-3f08abd67bb3] - Session.negotiatedCapabilities - {"browserName":"phantomjs","version":"1.9.8","driverName":"ghostdriver","driverVersion":"1.1.0","platform":"mac-10.10 (Yosemite)-32bit","javascriptEnabled":true,"takesScreenshot":true,"handlesAlerts":false,"databaseEnabled":false,"locationContextEnabled":false,"applicationCacheEnabled":false,"b
var sw = require('selenium-webdriver');
describe("Route: /blog", function () {
var driver;
this.timeout(10000); // Give the requests some time to breathe
before(function (done) {
driver = new sw.Builder().forBrowser('chrome').build();
done();