mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fix lint and unblock port 4001
We have to specify the `yarn run test:cypress` in `.travis.yml` in the Nitro-Web repo.
This commit is contained in:
parent
ec2b1050bc
commit
c4f15e626d
@ -15,4 +15,3 @@ services:
|
||||
build:
|
||||
context: .
|
||||
target: builder
|
||||
command: yarn run test:cypress
|
||||
|
||||
@ -1,14 +1,14 @@
|
||||
import { GraphQLClient, request } from 'graphql-request'
|
||||
import { getDriver } from '../../bootstrap/neo4j'
|
||||
|
||||
import createBadge from './badges.js'
|
||||
import createUser from './users.js'
|
||||
import createBadge from './badges.js'
|
||||
import createUser from './users.js'
|
||||
import createOrganization from './organizations.js'
|
||||
import createPost from './posts.js'
|
||||
import createComment from './comments.js'
|
||||
import createCategory from './categories.js'
|
||||
import createTag from './tags.js'
|
||||
import createReport from './reports.js'
|
||||
import createPost from './posts.js'
|
||||
import createComment from './comments.js'
|
||||
import createCategory from './categories.js'
|
||||
import createTag from './tags.js'
|
||||
import createReport from './reports.js'
|
||||
|
||||
export const seedServerHost = 'http://127.0.0.1:4001'
|
||||
|
||||
@ -25,14 +25,14 @@ const authenticatedHeaders = async ({ email, password }, host) => {
|
||||
}
|
||||
}
|
||||
const factories = {
|
||||
'Badge': createBadge,
|
||||
'User': createUser,
|
||||
'Badge': createBadge,
|
||||
'User': createUser,
|
||||
'Organization': createOrganization,
|
||||
'Post': createPost,
|
||||
'Comment': createComment,
|
||||
'Category': createCategory,
|
||||
'Tag': createTag,
|
||||
'Report': createReport
|
||||
'Post': createPost,
|
||||
'Comment': createComment,
|
||||
'Category': createCategory,
|
||||
'Tag': createTag,
|
||||
'Report': createReport
|
||||
}
|
||||
|
||||
export const cleanDatabase = async (options = {}) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user