Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import multipleActionObject from page;
- it("should be able to do multiple operations", () => {
- multipleActionObject.chooseIndex(4).setValue(10);
- }
- import multipleActionObject from page;
- it("should be able to do multiple operations", () => {
- multipleActionObject.chooseAndSetNumber(4,10);
- }
- class multipleActionObject(){
- public chooseAndSetNumber(index,value){
- this.index[index].setValue(value)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement