@@ -89,6 +89,7 @@ describe('other toRDF tests', () => {
89
89
it ( 'should process with options and promise' , done => {
90
90
const p = jsonld . toRDF ( { } , { } ) ;
91
91
assert ( p instanceof Promise ) ;
92
+ /* eslint-disable-next-line no-unused-vars */
92
93
p . catch ( e => {
93
94
assert . fail ( ) ;
94
95
} ) . then ( output => {
@@ -100,6 +101,7 @@ describe('other toRDF tests', () => {
100
101
it ( 'should process with no options and promise' , done => {
101
102
const p = jsonld . toRDF ( { } ) ;
102
103
assert ( p instanceof Promise ) ;
104
+ /* eslint-disable-next-line no-unused-vars */
103
105
p . catch ( e => {
104
106
assert . fail ( ) ;
105
107
} ) . then ( output => {
@@ -109,6 +111,7 @@ describe('other toRDF tests', () => {
109
111
} ) ;
110
112
111
113
it ( 'should fail with no args and callback' , done => {
114
+ /* eslint-disable-next-line no-unused-vars */
112
115
jsonld . toRDF ( ( err , output ) => {
113
116
assert ( err ) ;
114
117
done ( ) ;
@@ -118,6 +121,7 @@ describe('other toRDF tests', () => {
118
121
it ( 'should fail with no args and promise' , done => {
119
122
const p = jsonld . toRDF ( ) ;
120
123
assert ( p instanceof Promise ) ;
124
+ /* eslint-disable-next-line no-unused-vars */
121
125
p . then ( output => {
122
126
assert . fail ( ) ;
123
127
} ) . catch ( e => {
@@ -127,6 +131,7 @@ describe('other toRDF tests', () => {
127
131
} ) ;
128
132
129
133
it ( 'should fail for bad format and callback' , done => {
134
+ /* eslint-disable-next-line no-unused-vars */
130
135
jsonld . toRDF ( { } , { format : 'bogus' } , ( err , output ) => {
131
136
assert ( err ) ;
132
137
assert . equal ( err . name , 'jsonld.UnknownFormat' ) ;
@@ -198,6 +203,7 @@ describe('other fromRDF tests', () => {
198
203
it ( 'should process with options and promise' , done => {
199
204
const p = jsonld . fromRDF ( emptyNQuads , { } ) ;
200
205
assert ( p instanceof Promise ) ;
206
+ /* eslint-disable-next-line no-unused-vars */
201
207
p . catch ( e => {
202
208
assert . fail ( ) ;
203
209
} ) . then ( output => {
@@ -209,6 +215,7 @@ describe('other fromRDF tests', () => {
209
215
it ( 'should process with no options and promise' , done => {
210
216
const p = jsonld . fromRDF ( emptyNQuads ) ;
211
217
assert ( p instanceof Promise ) ;
218
+ /* eslint-disable-next-line no-unused-vars */
212
219
p . catch ( e => {
213
220
assert . fail ( ) ;
214
221
} ) . then ( output => {
@@ -218,6 +225,7 @@ describe('other fromRDF tests', () => {
218
225
} ) ;
219
226
220
227
it ( 'should fail with no args and callback' , done => {
228
+ /* eslint-disable-next-line no-unused-vars */
221
229
jsonld . fromRDF ( ( err , output ) => {
222
230
assert ( err ) ;
223
231
done ( ) ;
@@ -227,6 +235,7 @@ describe('other fromRDF tests', () => {
227
235
it ( 'should fail with no args and promise' , done => {
228
236
const p = jsonld . fromRDF ( ) ;
229
237
assert ( p instanceof Promise ) ;
238
+ /* eslint-disable-next-line no-unused-vars */
230
239
p . then ( output => {
231
240
assert . fail ( ) ;
232
241
} ) . catch ( e => {
@@ -236,6 +245,7 @@ describe('other fromRDF tests', () => {
236
245
} ) ;
237
246
238
247
it ( 'should fail for bad format and callback' , done => {
248
+ /* eslint-disable-next-line no-unused-vars */
239
249
jsonld . fromRDF ( emptyNQuads , { format : 'bogus' } , ( err , output ) => {
240
250
assert ( err ) ;
241
251
assert . equal ( err . name , 'jsonld.UnknownFormat' ) ;
0 commit comments