Skip to content
Snippets Groups Projects

WIP: Disable availibility page

4 files
+ 9
6
Compare changes
  • Side-by-side
  • Inline

Files

@@ -30,7 +30,8 @@ describe('The Dashboard', () => {
expect(pushFn).toBeCalledWith({ name: 'student-preferences' });
});
it('should link to the availability page', () => {
// eslint-disable-next-line
it.skip('should link to the availability page', () => {
const wrapper = createWrapper();
wrapper.findAll('button').at(1).trigger('click');
@@ -42,7 +43,8 @@ describe('The Dashboard', () => {
it('should link to the profile page', () => {
const wrapper = createWrapper();
wrapper.findAll('button').at(2).trigger('click');
// wrapper.findAll('button').at(2).trigger('click'); // Availibility button does not exist
wrapper.findAll('button').at(1).trigger('click');
expect(pushFn).toBeCalled();
expect(pushFn).toBeCalledWith({ name: 'student-profile' });
Loading