@@ -61,7 +61,7 @@ describe("api/index", function() {
6161 should . not . exist ( api . httpAdmin ) ;
6262 done ( ) ;
6363 } ) ;
64- describe ( 'initalises admin api without adminAuth' , function ( done ) {
64+ describe ( 'initalises admin api without adminAuth' , function ( ) {
6565 before ( function ( ) {
6666 beforeEach ( ) ;
6767 api . init ( { } , { } , { } , { } ) ;
@@ -78,7 +78,7 @@ describe("api/index", function() {
7878 } )
7979 } ) ;
8080
81- describe ( 'initalises admin api without editor' , function ( done ) {
81+ describe ( 'initalises admin api without editor' , function ( ) {
8282 before ( function ( ) {
8383 beforeEach ( ) ;
8484 api . init ( { disableEditor : true } , { } , { } , { } ) ;
@@ -95,7 +95,7 @@ describe("api/index", function() {
9595 } )
9696 } ) ;
9797
98- describe ( 'initialises api with admin middleware' , function ( done ) {
98+ describe ( 'initialises api with admin middleware' , function ( ) {
9999 it ( 'ignores non-function values' , function ( done ) {
100100 api . init ( { httpAdminRoot : true , httpAdminMiddleware : undefined } , { } , { } , { } ) ;
101101 const middlewareFound = api . httpAdmin . _router . stack . filter ( ( layer ) => layer . name === 'testMiddleware' )
@@ -112,7 +112,7 @@ describe("api/index", function() {
112112 } ) ;
113113 } ) ;
114114
115- describe ( 'initialises api with authentication enabled' , function ( done ) {
115+ describe ( 'initialises api with authentication enabled' , function ( ) {
116116
117117 it ( 'enables an oauth/openID based authentication mechanism' , function ( done ) {
118118 const stub = sinon . stub ( apiAuth , 'genericStrategy' ) . callsFake ( function ( ) { } ) ;
@@ -135,7 +135,7 @@ describe("api/index", function() {
135135
136136 } ) ;
137137
138- describe ( 'initialises api with custom cors config' , function ( done ) {
138+ describe ( 'initialises api with custom cors config' , function ( ) {
139139 const httpAdminCors = {
140140 origin : "*" ,
141141 methods : "GET,PUT,POST,DELETE"
@@ -156,7 +156,7 @@ describe("api/index", function() {
156156 } )
157157 } ) ;
158158
159- describe ( 'editor start' , function ( done ) {
159+ describe ( 'editor start' , function ( ) {
160160
161161 it ( 'cannot be started when editor is disabled' , function ( done ) {
162162 const stub = sinon . stub ( apiEditor , 'start' ) . callsFake ( function ( ) {
0 commit comments