Skip to content

Commit

Permalink
Corrected spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
barnettwilliam committed Mar 18, 2024
1 parent c2f113a commit c96a43f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions platform/test/spec/testActivityManagerSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ describe("ActivityManager", () => {
const ACTIVITY_ID = "activity-1";
const PANEL1_ID = "panel-1";
const PANEL2_ID = "panel-2";
const PANEL_DEINITION_ID = "paneldef-t1";
const PANEL_DEFINITION_ID = "paneldef-t1";

it("causes the activity file to be fetched from its URL using the fileHandler", () => {
expect(FileHandler.prototype.fetchFile).toHaveBeenCalledWith(ACTIVITY_URL, false);
Expand All @@ -126,7 +126,7 @@ describe("ActivityManager", () => {
expect(am.activityId).toEqual(ACTIVITY_ID);
})

it("no config errors empty configErrors propererty", () => {
it("no config errors empty configErrors property", () => {
expect(am.configErrors).toHaveSize(0);
})

Expand Down Expand Up @@ -172,8 +172,8 @@ describe("ActivityManager", () => {
})

it("the panel definitions the current activity references are unresolved", () => {
expect (am.activities[ACTIVITY_ID].panels[0].ref).toEqual(PANEL_DEINITION_ID);
expect (am.activities[ACTIVITY_ID].panels[1].ref).toEqual(PANEL_DEINITION_ID);
expect (am.activities[ACTIVITY_ID].panels[0].ref).toEqual(PANEL_DEFINITION_ID);
expect (am.activities[ACTIVITY_ID].panels[1].ref).toEqual(PANEL_DEFINITION_ID);
})
})

Expand Down

0 comments on commit c96a43f

Please sign in to comment.