@navikt/arbeidsgiver-notifikasjoner-brukerapi-mock
Advanced tools
Comparing version 5.4.5 to 5.4.6-rc1
@@ -169,3 +169,3 @@ const fs = require('fs'); | ||
const createApolloServer = (apolloServerOptions) => { | ||
const createApolloServer = ({mocks: apolloServerOptionsMocks, ...apolloServerOptions} = {}) => { | ||
const {ApolloServer, gql} = require("apollo-server-express"); | ||
@@ -175,6 +175,5 @@ casual = require("casual"); | ||
const data = fs.readFileSync(path.join(__dirname, 'bruker.graphql')); | ||
return new ApolloServer({ | ||
typeDefs: gql(data.toString()), | ||
mocks: mocks(), | ||
mocks: {...mocks(), ...apolloServerOptionsMocks }, | ||
...apolloServerOptions, | ||
@@ -181,0 +180,0 @@ }); |
@@ -5,3 +5,3 @@ { | ||
"repository": "github:navikt/arbeidsgiver-notifikasjon-widget", | ||
"version": "5.4.5", | ||
"version": "5.4.6-rc1", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "main": "dist/notifikasjonMockMiddleware.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9469
2