Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 1389e55

Browse files
committed
AEROGEAR-8183 initial test structure
1 parent 6234175 commit 1389e55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/apollo-voyager-keycloak/src/schemaDirectives/hasRole.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import test from 'ava'
22

3-
import {GraphQLSchema} from 'graphql'
3+
import { GraphQLSchema } from 'graphql'
44
import { VisitableSchemaType } from 'graphql-tools/dist/schemaVisitor'
55
import { HasRoleDirective } from './hasRole'
66

77
import {KeycloakAuthContextProvider} from '../AuthContextProvider'
88

9-
const createHasRoleDirective = (directiveArgs:any) => {
9+
const createHasRoleDirective = (directiveArgs: any) => {
1010
return new HasRoleDirective({
1111
name: 'testHasRoleDirective',
1212
args: directiveArgs,

0 commit comments

Comments
 (0)