DEV Community

Discussion on: JavaScript Selenium Mocha QuickStart Guide

Collapse
 
patricspires profile image
Patric Pires

Nice post, thank you for sharing it with us. I think maybe you need put only:

describe('Test', function () {...}
Enter fullscreen mode Exit fullscreen mode

and

it('Title should be "The Internet"', function () {...}
Enter fullscreen mode Exit fullscreen mode
Collapse
 
stephencavender profile image
Stephen Cavender

Thanks! Did an update to Mocha allow this syntax or did I just make mine more complicated than it needed to be?