text: /* eslint no-undef: 0, no-unused-expressions: 0, filenames/filenames: 0 */
  "use strict";
  
  var chai = require("chai");
  var expect = chai.expect;
  var profile = require("../lib/profile");
  
  describe("profile", function () {
    it("no browser is passed", function () {
      expect(profile.getProfiles([])).to.eql([]);
    });
  
    it("browser is passed", function () {
      expect(profile.getProfiles(["chrome"])).to.eql([{ id: "mocha" }]);
    });
  
    it("getCapabilities", function () {
      expect(profile.getCapabilities()).to.eql({ id: "mocha" });
    });
  
    it("listBrowsers", function () {
      expect(profile.listBrowsers()).to.eql(["mocha"]);
    });
  });
  