Skip to content

Instantly share code, notes, and snippets.

cypress:server:controllers:spec sending spec { filePath: '/Users/paulfalgout/Library/Application Support/Cypress/cy/production/projects/care-ops-frontend-204c0155fdf0d7420c5d8001fd87f88a/bundles/test/integration/patients/patient/sidebar.js' } +0ms
GET /__cypress/tests?p=test/integration/admin/programs/program/program.js-050 200 207.591 ms - -
cypress:server:events sending ipc data { type: 'on:spec:changed', data: { id: 0.46679375092329356, data: '__all' } } +345ms
GET /__cypress/tests?p=test/integration/admin/programs/program/workflows.js-875 200 206.920 ms - -
Error: write EPIPE
at afterWriteDispatched (internal/stream_base_commons.js:146:25)
at writevGeneric (internal/stream_base_commons.js:129:3)
at Socket._writeGeneric (net.js:696:11)
at Socket._writev (net.js:705:8)
at doWrite (_stream_writable.js:416:12)
@paulfalgout
paulfalgout / approuter
Created May 15, 2019 12:13
combination of toolkit.app and backbone.eventrouter
import { _, Backbone, Radio } from 'VENDORS';
import EventRouter from './eventrouter';
import App from './app';
export default App.extend({
// Set in router apps for nav selection
routerAppName: '',
constructor() {
this.initRouter();
7====================================================================================================
(Run Starting)
7 ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 3.0.3 │
│ Browser: Chrome 68 │
│ Specs: 45 found (clinicians/clinician-create.js, clinicians/clinician-profile.js, clinic… │
│ Run URL: https://dashboard.cypress.io/#/projects/4a82d650-339e-4759-a4b4-3ad4f228e95f/runs… │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
7────────────────────────────────────────────────────────────────────────────────────────────────────
7====================================================================================================
(Run Starting)
7 ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 3.0.3 │
│ Browser: Chrome 68 │
│ Specs: 2 found (ci.js, unit.js) │
│ Searched: assets/tests/integration/*.js │
│ Run URL: https://dashboard.cypress.io/#/projects/4a82d650-339e-4759-a4b4-3ad4f228e95f/runs… │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
7────────────────────────────────────────────────────────────────────────────────────────────────────
backbone.marionette/docs/backbone.radio.md
[15:16:38] 3:45 "a number of" is wordy or unneeded
[15:16:38] 4:30 "is provided" may be passive voice
[15:16:38] 55:58 "Simply" can weaken meaning
[15:16:38] 61:46 "Exactly" can weaken meaning
[15:16:38] 71:24 "exactly" can weaken meaning
[15:16:38] 76:77 "only" can weaken meaning
[15:16:38] 85:17 "be imported" may be passive voice
[15:16:38] 103:0 "Just" can weaken meaning
[15:16:38] 126:32 "be defined" may be passive voice
@paulfalgout
paulfalgout / next-composite-view.js
Created August 25, 2017 19:54
Candidate for NextCompositeView
// Composite View
// --------------
import _ from 'underscore';
import MarionetteError from './error';
import CollectionView from './next-collection-view';
import View from './view';
const ClassOptions = [
'childViewContainer',
@paulfalgout
paulfalgout / aliasfix
Created July 25, 2017 07:03
Test Mn alias fix
// MarionetteJS (Backbone.Marionette)
// ----------------------------------
// v3.3.1
//
// Copyright (c)2017 Derick Bailey, Muted Solutions, LLC.
// Distributed under MIT license
//
// http://marionettejs.com
'use strict';
const _ = require('underscore');
const Bb = require('backbone');
const Mn = require('backbone.marionette');
const morphdom = require('morphdom');
const DomApi = {
// Returns a new HTML DOM node instance
@paulfalgout
paulfalgout / make-composite.js
Last active August 24, 2017 17:06
Make the Marionette.NextCollectionView act like a CompositeView
/*
* To use:
* Mn.NextCollectionView.extend({
* initialize() {
* new MakeComposite({ el: this.el, collectionView: this });
* }
* // Regular CompositeView API
* });
*
*/
@paulfalgout
paulfalgout / marionette-v3.4-test.js
Created June 20, 2017 06:26
Example of rollup 0.43 build
// MarionetteJS (Backbone.Marionette)
// ----------------------------------
// v3.3.1
//
// Copyright (c)2017 Derick Bailey, Muted Solutions, LLC.
// Distributed under MIT license
//
// http://marionettejs.com