var basePage = require('../pages/Base');

describe('Main page', function() {

    basePage.go();

    it('should be at the correct URL', function() {
        expect(basePage.currentUrl).toEqual(browser.baseUrl + basePage.url);
    });

});

var basePage = require('../pages/Base');
var expect = require('./setupExpect').expect;

describe('Main page', function() {

    basePage.go();

    it('should be at the correct URL', function() {
        expect(basePage.currentUrl).to.eventually.equal(browser.baseUrl + basePage.url);
    });

});

Use mocha in spec files.
Use mocha in spec files.
