Created
September 13, 2019 07:15
-
-
Save Olegas/54990d6073af7339fb8affb3b47cb953 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Some case', () => { | |
before(() => { | |
// Mock BL here | |
declareMock('Object.Method').staticResponse(new RecordSet(....)); | |
declareMock('Object.Complicated').withResolver((args) => { | |
// if arg1 > 10 -> result1 | |
// if arg1 <= 10 -> result2 | |
}); | |
}); | |
it('Test something', () => { | |
// load page | |
// click here | |
// click there | |
// check values | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment