Skip to content

Commit 00e4a0e

Browse files
committed
Use deep.equal instaed of item checks.
1 parent c3b2b3e commit 00e4a0e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

test/jsonld-request.test.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ describe('jsonldRequest', function() {
1919
it('loads a local file (file://) and parses JSON-LD', async () => {
2020
const fileUrl = `file://${fixturePath}`;
2121
const {data} = await jsonldRequest(fileUrl, {allow: ['file']});
22-
should.exist(data);
23-
data.should.be.an('object');
24-
data.should.have.property('@context');
22+
data.should.deep.equal(JSON.parse(fixtureData));
2523
});
2624

2725
it('loads JSON-LD over HTTP and parses it', async () => {

0 commit comments

Comments
 (0)