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
1) UserController GET /users should return a collection: | |
Uncaught AssertionError: expected [ Array(2) ] to deeply equal [ Array(2) ] | |
+ expected - actual | |
[ | |
{ | |
"createdAt": "2015-10-29T23:22:13.254Z" | |
+ "email": "[email protected]" | |
+ "first_name": "Admin" |
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'; | |
exports.up = function(knex, Promise) { | |
knex.transaction(trx => { | |
trx('requestlog').truncate() | |
.then(() => { | |
trx.schema.table('requestlog', function (table) { | |
table.uuid('uuid'); | |
}) |
This file has been truncated, but you can view the full file.
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
/*! | |
* ionic.bundle.js is a concatenation of: | |
* ionic.js, angular.js, angular-animate.js, | |
* angular-sanitize.js, angular-ui-router.js, | |
* and ionic-angular.js | |
*/ | |
/*! | |
* Copyright 2015 Drifty Co. | |
* http://drifty.com/ |
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
# oh-my-zsh Theme | |
# Default robbyrussell theme with node version info. | |
# Installation: place this file in .oh-my-zsh/custom/themes/robbyrussell.zsh_theme | |
function node_prompt_version { | |
if which node &> /dev/null; then | |
echo "%{$fg_bold[blue]%}node(%{$fg[red]%}$(node -v)%{$fg[blue]%}) %{$reset_color%}" | |
fi | |
} |
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 React, { ComponentType } from 'react'; | |
import { GestureHandlerRootView } from 'react-native-gesture-handler'; | |
import hoistNonReactStatics from 'hoist-non-react-statics'; | |
// Helper function to get the display name of the wrapped component | |
const getDisplayName = (WrappedComponent: ComponentType<any>): string => | |
WrappedComponent.displayName || WrappedComponent.name || 'Component'; | |
// Create the HOC | |
const withGestureHandlerRootView = <P extends object>( |