ga defect tests
This commit is contained in:
parent
4715698f8e
commit
548310887b
1 changed files with 13 additions and 0 deletions
|
|
@ -107,4 +107,17 @@ describe("analyticsMixin.js", () => {
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test("Obj is not null after action prepended", () => {
|
||||||
|
//Arrange
|
||||||
|
const obj = {baseMethodName:"testMethodName", data:"testData"};
|
||||||
|
const method = {name:"testMethodName", data:"testData" }
|
||||||
|
const action = "testAction";
|
||||||
|
|
||||||
|
//Act
|
||||||
|
analyticsMixin.methods.prependActionToMethod(obj, method, action);
|
||||||
|
|
||||||
|
//Assert
|
||||||
|
expect(obj!=null);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
Loading…
Reference in a new issue