Skip to content

Commit

Permalink
test(intg): rename description properly
Browse files Browse the repository at this point in the history
  • Loading branch information
lemredd committed Jan 3, 2023
1 parent f29360f commit 8a9ed2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/CalculatorContainer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ describe("Component: CalculatorContainer", () => {

// click digit "1" button again
await digital1Btn.trigger("click")
expect(entryScrn.text()).toEqual("1")

// Find the Equal button and click it
const evaluationBtns = wrapper.findAll(".evaluation-button")
Expand Down Expand Up @@ -53,7 +52,6 @@ describe("Component: CalculatorContainer", () => {

// click digit "1" button again
await digital1Btn.trigger("click")
expect(entryScrn.text()).toEqual("1")

// Find the Equal button and click it
const evaluationBtns = wrapper.findAll(".evaluation-button")
Expand Down Expand Up @@ -161,7 +159,7 @@ describe("Component: CalculatorContainer", () => {
expect(expressionScrn.text()).toEqual("45")
})

it("can derive percentage as such: `rightEntry * (leftEntry / 100)`", async() => {
it("can derive percentage as such: `entry * (previousEntry / 100)`", async() => {
const wrapper = mount(Component)
const expressionScrn = wrapper.find(".expression-screen")
const entryScrn = wrapper.find(".entry-screen")
Expand Down

0 comments on commit 8a9ed2d

Please sign in to comment.