This file contains hidden or 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
<nix-shell> ~/R/e/app-native (detox|✚4) $ detox test --configuration android --loglevel trace | |
detox[70101] INFO: [test.js] DETOX_CONFIGURATION="android" DETOX_FORCE_ADB_INSTALL=false DETOX_LOGLEVEL="trace" DETOX_READ_ONLY_EMU=false DETOX_REPORT_SPECS=true DETOX_START_TIMESTAMP=1611786051573 DETOX_USE_CUSTOM_LOGGER=true jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' --maxWorkers 1 e2e | |
detox[70102] TRACE: [Detox.js/DETOX_CREATE] created a Detox instance with config: | |
{"artifactsConfig":{"rootDir":"artifacts/android.2021-01-27 22-20-51Z","plugins":{"log":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"screenshot":{"enabled":true,"shouldTakeAutomaticSnapshots":false,"keepOnlyFailedTestsArtifacts":false},"video":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"instruments":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"timeline":{"enabled":false},"uiHierarchy":{"enabled":false,"keepOnlyFailedTestsArtifacts":false}},"pathBuilder":{"_rootDir":"artifacts/android.2021-01-27 2 |
This file contains hidden or 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
Attaching to emqb_integration_1 | |
[36mintegration_1 |[0m cp: cannot create regular file '/bundle/ruby/2.5.0/bundler/gems/friendly_id-8531cdce5737/test/sequentially_slugged_test.rb': File exists | |
[36mintegration_1 |[0m cp: cannot create directory '/bundle/ruby/2.5.0/bundler/gems/jquery-datatables-rails-ff67ccfd7b06/app/assets/images': File exists | |
[36mintegration_1 |[0m cp: cannot create regular file '/bundle/ruby/2.5.0/bundler/gems/prawn-rails-87462a0561f4/.git/hooks/pre-receive.sample': File exists | |
[36mintegration_1 |[0m cp: cannot create directory '/bundle/ruby/2.5.0/bundler/gems/prawn-rails-87462a0561f4/.git/logs': File exists | |
[36mintegration_1 |[0m cp: cannot create regular file '/bundle/ruby/2.5.0/bundler/gems/prawn-rails-87462a0561f4/test/dummy/config/boot.rb': File exists | |
[36mintegration_1 |[0m cp: cannot create directory '/bundle/ruby/2.5.0/bundler/gems/prawn-rails-87462a0561f4/test/dummy/db': File exists | |
[36mintegration_1 |[0m cp: cannot create regular file '/bundle/rub |
This file contains hidden or 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
" Specify a directory for plugins | |
" - Avoid using standard Vim directory names like 'plugin' | |
call plug#begin('~/.vim/plugged') | |
" Make sure you use single quotes | |
" Shorthand notation; fetches https://github.com/junegunn/vim-easy-align | |
Plug 'itchyny/lightline.vim' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'leafgarland/typescript-vim' |
This file contains hidden or 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
id | buildset | filename | app | md5_url | url | build | version | created_at | updated_at | successor_id | | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
dbc0d9c0-70f0-4219-9cd7-18b04332057a | NULL | build.gif | FUSION | http://example.com/md/develop.tar | http://example.com/3.tar | p3900 | 1.7 | 2017-03-02 00:00:00+00 | 2017-03-02 00:00:00+00 | NULL | | |
2719cf7a-1d1e-42fa-95f4-2a21eb98d3d7 | develop | develop.gif | FUSION | http://example.com/md/develop.tar | http://example.com/3.tar | p3900 | 1.7 | 2017-03-02 00:00:00+00 | 2017-03-02 00:00:00+00 | NULL | |
This file contains hidden or 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
// Note: the error type of the payload is reflected in some way (at the moment it's prepended to every line). I'd be happy to see it anywhere. | |
// The errorStack and recentActions values are bound to be very long, that's ok (in my opininon anyway). If necessary, since they're | |
// strings they can easily be parsed and, recentActions especially, can be placed into a tool such as http://www.jsoneditoronline.org/ | |
// for easy viewing. | |
JAN 01 15:00:00: ERROR ===== ERROR PAYLOAD BEGIN ===== | |
JAN 01 15:00:00: ERROR providerName: algonquin | |
JAN 01 15:00:00: ERROR providerId: a789c-12789-.... | |
JAN 01 15:00:00: ERROR userAgent: Mozilla/5.0 AppleWebKit/537.36 Chrome/56.0.2924.87 | |
JAN 01 15:00:00: ERROR error: TypeError: Cannot read property 'id' of undefined |
This file contains hidden or 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
//@flow | |
import { TOGGLE_RESULT_ERROR_DISPLAY, } from '../actions/actionTypes' | |
const _ = require('lodash') | |
export const toggleResultErrorDisplay = (results: ScenarioActionResults = {}, action: ToggleResultErrorDisplayType): ScenarioActionResults => { | |
const result = _.get(results, [action.scenarioId, action.actionId]) | |
if(!result){ | |
return results | |
} | |
const scenarioResults = _.get(results, action.scenarioId) |
This file contains hidden or 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 mapStateToProps = (state: State, ownProps: Object) => { | |
const scenario = _.find(state.scenarios.value, (scenario: Scenario) => scenario.id === ownProps.params.scenarioId) | |
// state looks something like this | |
/** | |
* { | |
* results: { | |
* value: { | |
* 'fooScenarioId': { | |
* 'fooActionId: { | |
* foo: 'bar', |
This file contains hidden or 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
FROM node:4.4.2 | |
# Create app directory | |
RUN mkdir -p /usr/src/app | |
WORKDIR /usr/src/app | |
# Set its environment to development | |
ENV NODE_ENV development | |
EXPOSE 3000 |
This file contains hidden or 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
; --------------------------------------------------------------------------------- | |
; handler code | |
; --------------------------------------------------------------------------------- | |
; My handler code fetches messages in parrallel and then picks them off of the channel | |
; vector within the go block. I've succesfully redef'ed `http/get` by bringing it out | |
; of the `go` block, but redef'ing 're-frame/dispatch` doesn't seem to be working. | |
(defn fetch-full-messages [db [scenario-name]] | |
(if-let [scenario (get-in db [:admin-configuration :scenarios scenario-name])] |
This file contains hidden or 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
; I have a question about how to test handlers that dispatch other handlers (say when fetching from a server). | |
; Here's what the wiki says about fetching from servers | |
(ns my.app.handlers | |
(:require [ajax.core :refer [GET POST]] | |
[re-frame.core :refer [register-handler])) | |
(register-handler | |
:request-it | |
(fn |
NewerOlder