Skip to content

Commit

Permalink
Re-enable persister
Browse files Browse the repository at this point in the history
  • Loading branch information
Jym77 committed Sep 9, 2024
1 parent 3da2519 commit 6416c89
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions unit-testing/vue/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@ import * as alfa from "@siteimprove/alfa-jest";
import { Rules } from "@siteimprove/alfa-rules";
const R12 = Rules.get("R12").getUnsafe();

// import { persist } from "common/persist";
import { persist } from "common/persist";

alfa.Jest.createPlugin(
(value: Vue.Type) => Future.from(Vue.toPage(value)),
[R12],
// For some reason, jsonld isn't included correctly in the JSDOM environment.
// Since we do not officially support Vue integration, we just skip the
// persister on this test.
[]
[persist(() => "outcomes/button.spec.json")]
);

0 comments on commit 6416c89

Please sign in to comment.