Skip to content

Instantly share code, notes, and snippets.

@Robdel12
Last active October 28, 2018 21:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Robdel12/3766780fee0ed43f250c5a3e2e925734 to your computer and use it in GitHub Desktop.
Save Robdel12/3766780fee0ed43f250c5a3e2e925734 to your computer and use it in GitHub Desktop.
describe('Modal test' () => {
let modal = new ModalInteractor('.modal');
it('has a disabled submit button with empty data', async () => {
await mount(()=> <Modal />);
expect(modal.confirmationButton.isDisabled).toBe(true);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment