added tests to createPlugin, plus minor refactors

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2023-08-30 14:57:38 +02:00
parent 65c7c64666
commit 9758240395
14 changed files with 394 additions and 45 deletions
@@ -29,5 +29,5 @@ export const GraphiqlPage = createPageExtension({
export const graphiqlPlugin = createPlugin({
id: 'graphiql',
defaultExtensions: [GraphiqlPage],
extensions: [GraphiqlPage],
});