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
const Fastify = require('fastify'); | |
const mercurius = require('mercurius'); | |
const path = require('path'); | |
const example = Fastify(); | |
const schema = ` | |
extend type Query { | |
test: Boolean! | |
} | |
extend type Mutation { |
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
#!/bin/sh | |
# to auto-run: | |
# curl -fsSL https://gist.github.com/samberic/4bc1c726df934dccb307/download | tar -xf- && bash 4bc1c726df934dccb307*/setup.sh && rm -r 4bc1c726df934dccb307* | |
##### Preparations ##### | |
#----------------------- | |
# Description is available at http://mlayer.org/tech/2014/11/25/setup-mac-os-x.html | |
# install homebrew | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew install caskroom/cask/brew-cask # makes available to install apps as packages |
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
(ns yswrl.test.swirls.amazon-test | |
(:use clojure.test) | |
(:require [yswrl.test.scaffolding :refer :all] | |
[yswrl.swirls.amazon :as amazon]) | |
(:use clj-http.fake) | |
(:use yswrl.fake.faker)) | |
(deftest amazon-test | |
(testing "url Params are in order" |