From ec2fe66421e1320ea5f05dda6233d1191e0d6d09 Mon Sep 17 00:00:00 2001 From: Ilmo Raunio Date: Wed, 22 May 2024 22:18:57 +0300 Subject: [PATCH] Don't skip validation --- test/oksa/core_test.cljc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/oksa/core_test.cljc b/test/oksa/core_test.cljc index 8533073..048e631 100644 --- a/test/oksa/core_test.cljc +++ b/test/oksa/core_test.cljc @@ -2,7 +2,7 @@ (:require [camel-snake-kebab.core :as csk] [#?(:clj clojure.test :cljs cljs.test) :as t] - [oksa.core :as oksa] + [oksa.core] [oksa.test-util :refer [unparse-and-validate]] [oksa.alpha.api :as api]) #?(:clj (:import [graphql.parser Parser]))) @@ -305,7 +305,7 @@ [:fooField]])))) (t/testing "sequential selection sets should throw an exception" (t/is (thrown? #?(:clj Exception :cljs js/Error) - (oksa/gql [[:foo {} [:qux :baz]] [:basho]])))) + (unparse-and-validate [[:foo {} [:qux :baz]] [:basho]])))) (t/testing "sequentiality" (t/is (= "{foo{bar}}" (unparse-and-validate [[:foo {}] [:bar]])) "field w/o selection-set + sequential selection-set parses correctly")