ga defect tests

This commit is contained in:
Donielle Austin 2022-05-19 09:25:15 -04:00
parent 4715698f8e
commit 548310887b

View file

@ -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);
});
});