Skip to content

Instantly share code, notes, and snippets.

@kmagiera
kmagiera / pokemonMock.js
Created November 22, 2018 13:36 — forked from barsumek/pokemonMock.js
Detox your GraphQL: Mock the Pokemon's level
const defaultPokemon = {
Pokemon: () => ({
level: 10
})
};
const maxLvlPokemon = {
Pokemon: () => ({
level: 30
})