mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Set unimplemented mocha tests to pending
This commit is contained in:
parent
1ae09b5a7f
commit
ad62a8ebb3
@ -7,7 +7,7 @@
|
||||
"no_auth": "cross-env GRAPHQL_URI=http://localhost:4001 GRAPHQL_PORT=4001 PERMISSIONS=disabled"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha --require @babel/register src/**/*.test.js",
|
||||
"mocha": "./node_modules/.bin/mocha --require @babel/register src/**/*.test.js",
|
||||
"eslint": "eslint src --config .eslintrc.js",
|
||||
"start": "./node_modules/.bin/nodemon --exec babel-node src/index.js",
|
||||
"start:debug": "./node_modules/.bin/nodemon --exec babel-node --inspect=0.0.0.0:9229 src/index.js",
|
||||
|
||||
@ -1,19 +1,16 @@
|
||||
import { describe, it } from 'mocha'
|
||||
import { expect } from 'chai'
|
||||
|
||||
describe('query', () => {
|
||||
describe('statistics', () => {
|
||||
describe('authenticated user', () => {
|
||||
describe('read', () => {
|
||||
it('is forbidden', () => {
|
||||
})
|
||||
it('is forbidden')
|
||||
})
|
||||
})
|
||||
|
||||
context('admin', () => {
|
||||
describe('admin', () => {
|
||||
describe('read', () => {
|
||||
it('is permitted', () => {
|
||||
})
|
||||
it('is permitted')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user