Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

Test all entry point content #279

Merged
merged 1 commit into from
Mar 13, 2020

Conversation

thewilkybarkid
Copy link
Contributor

Makes sure that all quads in the entry point are tested.

Found in #167.

@thewilkybarkid thewilkybarkid added the 🚨 Tests Adding missing tests or correcting existing tests label Mar 13, 2020
@thewilkybarkid thewilkybarkid requested a review from a team as a code owner March 13, 2020 11:32
expect(dataset).toBeRdfDatasetMatching({ subject: id, predicate: hydra.collection });
expect(dataset).toBeRdfDatasetContaining(
quad(id, rdf.type, schema.EntryPoint),
quad(id, schema('name'), literal('Article Store', 'en')),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

surprising how language is a first class concept in the literal

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thewilkybarkid thewilkybarkid merged commit de056d7 into libero:master Mar 13, 2020
@thewilkybarkid thewilkybarkid deleted the entry-point-tests branch March 13, 2020 14:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🚨 Tests Adding missing tests or correcting existing tests
Projects
None yet
2 participants