Skip to content

Commit

Permalink
convert samplePrimeNumbers tests to vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
dqnykamp committed Oct 19, 2024
1 parent d13ebb6 commit 5d019e9
Show file tree
Hide file tree
Showing 3 changed files with 630 additions and 1,921 deletions.
4 changes: 2 additions & 2 deletions packages/doenetml-worker/src/test/tagSpecific/copy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7669,14 +7669,14 @@ describe("Copy tag tests", async () => {
expect(cleanLatex(stateVariables["/p31"].stateValues.text)).eq(
`${P12latex || P12},${P22latex || P22}`,
);
expect(cleanLatex(stateVariables["/p32"].stateValues.text)).eq(`,`);
expect(cleanLatex(stateVariables["/p32"].stateValues.text)).eq(``);
expect(cleanLatex(stateVariables["/p33"].stateValues.text)).eq(
`${P11latex || P11},${P21latex || P21}`,
);
expect(cleanLatex(stateVariables["/p34"].stateValues.text)).eq(
`${P12latex || P12},${P22latex || P22}`,
);
expect(cleanLatex(stateVariables["/p35"].stateValues.text)).eq(`,`);
expect(cleanLatex(stateVariables["/p35"].stateValues.text)).eq(``);

expect(cleanLatex(stateVariables["/p36"].stateValues.text)).eq(
`(${P11latex || P11},${P12latex || P12})`,
Expand Down
Loading

0 comments on commit 5d019e9

Please sign in to comment.