Skip to content

Commit

Permalink
Add test case loading pattern-based QRMs
Browse files Browse the repository at this point in the history
  • Loading branch information
wederbn committed May 17, 2024
1 parent 985a9e7 commit 6aa346a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions components/bpmn-q/test/tests/pattern/pattern-qrms-spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import chai from "chai";
import { getPatternSolutionQRMs } from "../../../modeler-component/extensions/quantme/qrm-manager/qrm-handler";
describe("Test the pattern plugin", function () {
it("Should load solutions as QRMs", async function () {
const patternQRMs = await getPatternSolutionQRMs();

chai.expect(patternQRMs.length).to.equal(4);
});
});

0 comments on commit 6aa346a

Please sign in to comment.