Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify getVerdict #8

Open
sylvainhalle opened this issue Jan 25, 2021 · 1 comment
Open

Modify getVerdict #8

sylvainhalle opened this issue Jan 25, 2021 · 1 comment
Assignees
Labels
todo Thing to do

Comments

@sylvainhalle
Copy link
Contributor

In index.mjs, change the function so that:

  1. It receives a TestCondition object (argument condition)
  2. It evaluates the function it contains on the DOM tree that is passed (argument root)
  3. It fetches the witness associated to the verdict (cf.
    it("True condition on a page element", async () => {
    for an example)
  4. It transforms the witness into a DataTree (see Implement conversion of witness object into DataTree #5)
@sylvainhalle sylvainhalle added the todo Thing to do label Jan 25, 2021
@amadouba9
Copy link
Collaborator

Bonjour Prof, les modifications de index.mjs et stub.test.js vous semble t'elles correctes selon issue #8 (Modify getVerdict)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
todo Thing to do
Projects
None yet
Development

No branches or pull requests

2 participants