@@ -10,7 +10,7 @@ describe("Empty schema", () => {
1010 let parser = new $RefParser ( ) ;
1111 const schema = await parser . parse ( path . rel ( "specs/empty/empty.json" ) ) ;
1212 expect ( schema ) . to . be . an ( "object" ) ;
13- expect ( schema ) . to . be . empty ;
13+ expect ( schema ) . to . be . empty ; // eslint-disable-line no-unused-expressions
1414 expect ( parser . schema ) . to . equal ( schema ) ;
1515 expect ( parser . $refs . paths ( ) ) . to . deep . equal ( [ path . abs ( "specs/empty/empty.json" ) ] ) ;
1616 } ) ;
@@ -24,7 +24,7 @@ describe("Empty schema", () => {
2424 let parser = new $RefParser ( ) ;
2525 const schema = await parser . dereference ( path . rel ( "specs/empty/empty.json" ) ) ;
2626 expect ( schema ) . to . be . an ( "object" ) ;
27- expect ( schema ) . to . be . empty ;
27+ expect ( schema ) . to . be . empty ; // eslint-disable-line no-unused-expressions
2828 expect ( parser . schema ) . to . equal ( schema ) ;
2929 expect ( parser . $refs . paths ( ) ) . to . deep . equal ( [ path . abs ( "specs/empty/empty.json" ) ] ) ;
3030 // The "circular" flag should NOT be set
@@ -35,7 +35,7 @@ describe("Empty schema", () => {
3535 let parser = new $RefParser ( ) ;
3636 const schema = await parser . bundle ( path . rel ( "specs/empty/empty.json" ) ) ;
3737 expect ( schema ) . to . be . an ( "object" ) ;
38- expect ( schema ) . to . be . empty ;
38+ expect ( schema ) . to . be . empty ; // eslint-disable-line no-unused-expressions
3939 expect ( parser . schema ) . to . equal ( schema ) ;
4040 expect ( parser . $refs . paths ( ) ) . to . deep . equal ( [ path . abs ( "specs/empty/empty.json" ) ] ) ;
4141 } ) ;
0 commit comments