@@ -89,6 +89,7 @@ describe('other toRDF tests', () => {
8989 it ( 'should process with options and promise' , done => {
9090 const p = jsonld . toRDF ( { } , { } ) ;
9191 assert ( p instanceof Promise ) ;
92+ /* eslint-disable-next-line no-unused-vars */
9293 p . catch ( e => {
9394 assert . fail ( ) ;
9495 } ) . then ( output => {
@@ -100,6 +101,7 @@ describe('other toRDF tests', () => {
100101 it ( 'should process with no options and promise' , done => {
101102 const p = jsonld . toRDF ( { } ) ;
102103 assert ( p instanceof Promise ) ;
104+ /* eslint-disable-next-line no-unused-vars */
103105 p . catch ( e => {
104106 assert . fail ( ) ;
105107 } ) . then ( output => {
@@ -109,6 +111,7 @@ describe('other toRDF tests', () => {
109111 } ) ;
110112
111113 it ( 'should fail with no args and callback' , done => {
114+ /* eslint-disable-next-line no-unused-vars */
112115 jsonld . toRDF ( ( err , output ) => {
113116 assert ( err ) ;
114117 done ( ) ;
@@ -118,6 +121,7 @@ describe('other toRDF tests', () => {
118121 it ( 'should fail with no args and promise' , done => {
119122 const p = jsonld . toRDF ( ) ;
120123 assert ( p instanceof Promise ) ;
124+ /* eslint-disable-next-line no-unused-vars */
121125 p . then ( output => {
122126 assert . fail ( ) ;
123127 } ) . catch ( e => {
@@ -127,6 +131,7 @@ describe('other toRDF tests', () => {
127131 } ) ;
128132
129133 it ( 'should fail for bad format and callback' , done => {
134+ /* eslint-disable-next-line no-unused-vars */
130135 jsonld . toRDF ( { } , { format : 'bogus' } , ( err , output ) => {
131136 assert ( err ) ;
132137 assert . equal ( err . name , 'jsonld.UnknownFormat' ) ;
@@ -198,6 +203,7 @@ describe('other fromRDF tests', () => {
198203 it ( 'should process with options and promise' , done => {
199204 const p = jsonld . fromRDF ( emptyNQuads , { } ) ;
200205 assert ( p instanceof Promise ) ;
206+ /* eslint-disable-next-line no-unused-vars */
201207 p . catch ( e => {
202208 assert . fail ( ) ;
203209 } ) . then ( output => {
@@ -209,6 +215,7 @@ describe('other fromRDF tests', () => {
209215 it ( 'should process with no options and promise' , done => {
210216 const p = jsonld . fromRDF ( emptyNQuads ) ;
211217 assert ( p instanceof Promise ) ;
218+ /* eslint-disable-next-line no-unused-vars */
212219 p . catch ( e => {
213220 assert . fail ( ) ;
214221 } ) . then ( output => {
@@ -218,6 +225,7 @@ describe('other fromRDF tests', () => {
218225 } ) ;
219226
220227 it ( 'should fail with no args and callback' , done => {
228+ /* eslint-disable-next-line no-unused-vars */
221229 jsonld . fromRDF ( ( err , output ) => {
222230 assert ( err ) ;
223231 done ( ) ;
@@ -227,6 +235,7 @@ describe('other fromRDF tests', () => {
227235 it ( 'should fail with no args and promise' , done => {
228236 const p = jsonld . fromRDF ( ) ;
229237 assert ( p instanceof Promise ) ;
238+ /* eslint-disable-next-line no-unused-vars */
230239 p . then ( output => {
231240 assert . fail ( ) ;
232241 } ) . catch ( e => {
@@ -236,6 +245,7 @@ describe('other fromRDF tests', () => {
236245 } ) ;
237246
238247 it ( 'should fail for bad format and callback' , done => {
248+ /* eslint-disable-next-line no-unused-vars */
239249 jsonld . fromRDF ( emptyNQuads , { format : 'bogus' } , ( err , output ) => {
240250 assert ( err ) ;
241251 assert . equal ( err . name , 'jsonld.UnknownFormat' ) ;
0 commit comments