Skip to content

Commit

Permalink
Fixing tests after fixing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SonicScrewdriver committed Nov 8, 2024
1 parent 836f503 commit 5221038
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const inputNumberSimple: PerseusRenderer = {
graded: true,
alignment: "default",
options: {
maxError: 0.1,
maxError: 0,
inexact: false,
value: 0.3333333333333333,
simplify: "optional",
Expand Down Expand Up @@ -53,8 +53,9 @@ export const numericInputSimple: PerseusRenderer = {
status: "correct",
message: "",
simplify: "optional",
strict: true,
maxError: 0.1,
strict: false,
maxError: 0,
answerForms: ["proper"],
},
],
size: "normal",
Expand Down Expand Up @@ -87,7 +88,7 @@ export const inputNumberNestedWithNumeric: PerseusRenderer = {
status: "correct",
message: "",
simplify: "optional",
strict: true,
strict: false,
maxError: 0,
},
],
Expand Down Expand Up @@ -118,7 +119,7 @@ export const inputNumberNestedWithNumeric: PerseusRenderer = {
status: "correct",
message: "",
simplify: "optional",
strict: true,
strict: false,
maxError: 0,
},
],
Expand All @@ -133,7 +134,7 @@ export const inputNumberNestedWithNumeric: PerseusRenderer = {
graded: true,
alignment: "default",
options: {
maxError: 0.1,
maxError: 0,
inexact: false,
value: 0.3333333333333333,
simplify: "optional",
Expand Down Expand Up @@ -168,7 +169,7 @@ export const numericInputNestedWithNumeric: PerseusRenderer = {
status: "correct",
message: "",
simplify: "optional",
strict: true,
strict: false,
maxError: 0,
},
],
Expand Down Expand Up @@ -199,7 +200,7 @@ export const numericInputNestedWithNumeric: PerseusRenderer = {
status: "correct",
message: "",
simplify: "optional",
strict: true,
strict: false,
maxError: 0,
},
],
Expand All @@ -219,8 +220,9 @@ export const numericInputNestedWithNumeric: PerseusRenderer = {
status: "correct",
message: "",
simplify: "optional",
strict: true,
maxError: 0.1,
strict: false,
maxError: 0,
answerForms: ["proper"],
},
],
size: "normal",
Expand Down Expand Up @@ -261,7 +263,7 @@ export const inputNumberNested: PerseusRenderer = {
graded: true,
alignment: "default",
options: {
maxError: 0.1,
maxError: 0,
inexact: false,
value: 0.3333333333333333,
simplify: "optional",
Expand Down Expand Up @@ -306,8 +308,9 @@ export const numericInputNested: PerseusRenderer = {
status: "correct",
message: "",
simplify: "optional",
strict: true,
maxError: 0.1,
strict: false,
maxError: 0,
answerForms: ["proper"],
},
],
size: "normal",
Expand Down Expand Up @@ -343,8 +346,8 @@ export const inputNumberMultiNested: PerseusRenderer = {
status: "correct",
message: "",
simplify: "optional",
strict: true,
maxError: 0.1,
strict: false,
maxError: 0,
},
],
size: "normal",
Expand All @@ -358,7 +361,7 @@ export const inputNumberMultiNested: PerseusRenderer = {
graded: true,
alignment: "default",
options: {
maxError: 0.1,
maxError: 0,
inexact: false,
value: 0.3333333333333333,
simplify: "optional",
Expand All @@ -371,7 +374,7 @@ export const inputNumberMultiNested: PerseusRenderer = {
graded: true,
alignment: "default",
options: {
maxError: 0.1,
maxError: 0,
inexact: false,
value: 0.3333333333333333,
simplify: "optional",
Expand All @@ -395,7 +398,7 @@ export const inputNumberMultiNested: PerseusRenderer = {
graded: true,
alignment: "default",
options: {
maxError: 0.1,
maxError: 0,
inexact: false,
value: 0.3333333333333333,
simplify: "optional",
Expand All @@ -408,7 +411,7 @@ export const inputNumberMultiNested: PerseusRenderer = {
graded: true,
alignment: "default",
options: {
maxError: 0.1,
maxError: 0,
inexact: false,
value: 0.3333333333333333,
simplify: "optional",
Expand All @@ -434,7 +437,7 @@ export const inputNumberMultiNested: PerseusRenderer = {
graded: true,
alignment: "default",
options: {
maxError: 0.1,
maxError: 0,
inexact: false,
value: 0.3333333333333333,
simplify: "optional",
Expand All @@ -460,7 +463,7 @@ export const inputNumberMultiNested: PerseusRenderer = {
graded: true,
alignment: "default",
options: {
maxError: 0.1,
maxError: 0,
inexact: false,
value: 0.3333333333333333,
simplify: "optional",
Expand Down Expand Up @@ -495,8 +498,8 @@ export const numericInputMultiNested: PerseusRenderer = {
status: "correct",
message: "",
simplify: "optional",
strict: true,
maxError: 0.1,
strict: false,
maxError: 0,
},
],
size: "normal",
Expand All @@ -515,8 +518,9 @@ export const numericInputMultiNested: PerseusRenderer = {
status: "correct",
message: "",
simplify: "optional",
strict: true,
maxError: 0.1,
strict: false,
maxError: 0,
answerForms: ["proper"],
},
],
size: "normal",
Expand All @@ -535,8 +539,9 @@ export const numericInputMultiNested: PerseusRenderer = {
status: "correct",
message: "",
simplify: "optional",
strict: true,
maxError: 0.1,
strict: false,
maxError: 0,
answerForms: ["proper"],
},
],
size: "normal",
Expand Down Expand Up @@ -566,8 +571,9 @@ export const numericInputMultiNested: PerseusRenderer = {
status: "correct",
message: "",
simplify: "optional",
strict: true,
maxError: 0.1,
strict: false,
maxError: 0,
answerForms: ["proper"],
},
],
size: "normal",
Expand All @@ -586,8 +592,9 @@ export const numericInputMultiNested: PerseusRenderer = {
status: "correct",
message: "",
simplify: "optional",
strict: true,
maxError: 0.1,
strict: false,
maxError: 0,
answerForms: ["proper"],
},
],
size: "normal",
Expand Down Expand Up @@ -619,8 +626,9 @@ export const numericInputMultiNested: PerseusRenderer = {
status: "correct",
message: "",
simplify: "optional",
strict: true,
maxError: 0.1,
strict: false,
maxError: 0,
answerForms: ["proper"],
},
],
size: "normal",
Expand Down Expand Up @@ -652,8 +660,9 @@ export const numericInputMultiNested: PerseusRenderer = {
status: "correct",
message: "",
simplify: "optional",
strict: true,
maxError: 0.1,
strict: false,
maxError: 0,
answerForms: ["proper"],
},
],
size: "normal",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ exports[`server item renderer should snapshot: initial render 1`] = `
class="perseus-widget-container widget-nohighlight widget-inline-block"
>
<div
class="Im-just-a-sweet-lil-numeric-input"
class="im-just-a-sweet-lil-numeric-input"
>
<span>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ exports[`multi-item renderer should snapshot: initial render 1`] = `
class="perseus-widget-container widget-nohighlight widget-inline-block"
>
<div
class="Im-just-a-sweet-lil-numeric-input"
class="im-just-a-sweet-lil-numeric-input"
>
<span>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ exports[`graded-group-set should render all graded groups 1`] = `
class="perseus-widget-container widget-nohighlight widget-inline-block"
>
<div
class="Im-just-a-sweet-lil-numeric-input"
class="im-just-a-sweet-lil-numeric-input"
>
<span>
<div>
Expand Down Expand Up @@ -291,7 +291,7 @@ exports[`graded-group-set should render all graded groups 1`] = `
class="perseus-widget-container widget-nohighlight widget-inline-block"
>
<div
class="Im-just-a-sweet-lil-numeric-input"
class="im-just-a-sweet-lil-numeric-input"
>
<span>
<div>
Expand Down Expand Up @@ -522,7 +522,7 @@ exports[`graded-group-set should render all graded groups 1`] = `
class="perseus-widget-container widget-nohighlight widget-inline-block"
>
<div
class="Im-just-a-sweet-lil-numeric-input"
class="im-just-a-sweet-lil-numeric-input"
>
<span>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ exports[`graded group widget should snapshot 1`] = `
class="perseus-widget-container widget-nohighlight widget-inline-block"
>
<div
class="Im-just-a-sweet-lil-numeric-input"
class="im-just-a-sweet-lil-numeric-input"
>
<span>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ exports[`group widget should snapshot: initial render 1`] = `
class="perseus-widget-container widget-nohighlight widget-inline-block"
>
<div
class="Im-just-a-sweet-lil-numeric-input"
class="im-just-a-sweet-lil-numeric-input"
>
<span>
<div>
Expand Down Expand Up @@ -962,7 +962,7 @@ exports[`group widget should snapshot: initial render 1`] = `
class="perseus-widget-container widget-nohighlight widget-inline-block"
>
<div
class="Im-just-a-sweet-lil-numeric-input"
class="im-just-a-sweet-lil-numeric-input"
>
<span>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exports[`Numeric input widget styles differently on mobile: mobile render 1`] =
class="perseus-widget-container widget-nohighlight widget-inline-block"
>
<div
class="Im-just-a-sweet-lil-numeric-input"
class="im-just-a-sweet-lil-numeric-input"
>
<div
aria-label="Math input box Tap with one or two fingers to open keyboard"
Expand Down Expand Up @@ -95,7 +95,7 @@ exports[`numeric-input widget Should render predictably: after interaction 1`] =
class="perseus-widget-container widget-nohighlight widget-inline-block"
>
<div
class="Im-just-a-sweet-lil-numeric-input"
class="im-just-a-sweet-lil-numeric-input"
>
<span>
<div>
Expand Down Expand Up @@ -301,7 +301,7 @@ exports[`numeric-input widget Should render predictably: first render 1`] = `
class="perseus-widget-container widget-nohighlight widget-inline-block"
>
<div
class="Im-just-a-sweet-lil-numeric-input"
class="im-just-a-sweet-lil-numeric-input"
>
<span>
<div>
Expand Down

0 comments on commit 5221038

Please sign in to comment.