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 path = require('path'); | |
module.exports = function (wallaby) { | |
return { | |
files: [ | |
{pattern: 'node_modules/babel-polyfill/dist/polyfill.js', instrument: false}, | |
'public/data.json', | |
'js/**/*.js' | |
], | |
tests: [ |
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 path = require('path'); | |
module.exports = function (wallaby) { | |
return { | |
files: ['src/*.js'], | |
tests: ['src/tests/*.test.js'], | |
env: { | |
type: 'node', |
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
{ | |
"README_schema" : "Specifies how to load the GraphQL schema that completion, error highlighting, and documentation is based on in the IDE", | |
"schema": { | |
"request": { | |
"url" : "http://localhost:3000/graphql", | |
"method" : "POST", | |
"README_postIntrospectionQuery" : "Whether to POST an introspectionQuery to the url. If the url always returns the schema JSON, set to false and consider using GET", | |
"postIntrospectionQuery" : true, | |
"README_options" : "See the 'Options' section at https://github.com/then/then-request", |
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
// XXX need a strategy for passing the binding of $ into this | |
// function, from the compiled selector | |
// | |
// maybe just {key.up.to.just.before.dollarsign: array_index} | |
// | |
// XXX atomicity: if one modification fails, do we roll back the whole | |
// change? | |
// | |
// options: | |
// - isInsert is set when _modify is being called to compute the document to |
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
`"code": "test_code"` | |
or '"code": "test_code"' | |
instead of | |
"\"code\": \"test_code\"" |
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
> browser.element("input").then(function(e) { console.log("my e", e) }) | |
my e { sessionId: '8e489f2907be6c86c9a894f014d3f382', | |
status: 0, | |
value: | |
{ ELEMENT: '0.15292583427943218-1', | |
'element-6066-11e4-a52e-4f735466cecf': '0.15292583427943218-1' }, | |
selector: 'input' } | |
> browser.element("input").then(function(e) { e.click() }) |
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
'use strict'; | |
Object.defineProperty(exports, "__esModule", { | |
value: true | |
}); | |
exports.default = function (_ref) { | |
var t = _ref.types; | |
return { |
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
/** | |
* - check symlink in depencency and devDepency | |
* - if found, generate rn-cli-config.js | |
* - react-native start with rn-cli-config | |
*/ | |
const packageJson = require('./package.json'); | |
const fs = require('fs'); | |
const exec = require('child_process').execSync; | |
const appJson = require('./app.json'); |
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
var path = require('path'); | |
var blacklist; | |
try { | |
blacklist = require('metro-bundler/src/blacklist'); | |
} catch(e) { | |
blacklist = require('metro/src/blacklist'); | |
} | |
var config = { |
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
class MyWsServer { | |
initialHooks = {}; | |
hooks = {}; | |
on(eventType, cb) { | |
this.initialHooks[eventType] = cb; | |
} | |
receiveConnection(client) { |
OlderNewer