Skip to content

Instantly share code, notes, and snippets.

View shilman's full-sized avatar
🇹🇼

Michael Shilman shilman

🇹🇼
View GitHub Profile
import { execute } from 'graphql';
import { makeExecutableSchema } from 'graphql-tools';
// There is some code duplication with server/index here.
// I wonder if we could refactor?
import addModelsToContext from '../model';
import typeDefs from '../schema';
import resolvers from '../resolvers';
/* eslint-disable no-console */
@AdamBrodzinski
AdamBrodzinski / karma.config.js
Last active February 21, 2016 18:00
Karma React Setup (drop these in /tests/karma/ )
module.exports = function(config) {
config.set({
basePath: '../../',
frameworks: ['jasmine', 'jquery-2.1.0'],
plugins: [
'karma-babel-preprocessor',
'karma-jquery',
'karma-jasmine',
'karma-mocha-reporter',
],