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
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 */ |
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
module.exports = function(config) { | |
config.set({ | |
basePath: '../../', | |
frameworks: ['jasmine', 'jquery-2.1.0'], | |
plugins: [ | |
'karma-babel-preprocessor', | |
'karma-jquery', | |
'karma-jasmine', | |
'karma-mocha-reporter', | |
], |