add prettier and eslint

This commit is contained in:
Gregg Van Hove
2019-05-21 17:44:38 -07:00
parent cf2c5c9acc
commit b4cbe9850f
90 changed files with 6345 additions and 3647 deletions

View File

@@ -1,12 +1,11 @@
describe("MatchersSpec - HTML Dependent", function () {
describe('MatchersSpec - HTML Dependent', function() {
var env, spec;
beforeEach(function() {
env = new jasmineUnderTest.Env();
var suite = env.describe("suite", function() {
spec = env.it("spec", function() {
});
env.describe('suite', function() {
spec = env.it('spec', function() {});
});
spyOn(spec, 'addExpectationResult');
@@ -28,10 +27,10 @@ describe("MatchersSpec - HTML Dependent", function () {
return spec.addExpectationResult.mostRecentCall.args[1];
}
xit("toEqual with DOM nodes", function() {
xit('toEqual with DOM nodes', function() {
var nodeA = document.createElement('div');
var nodeB = document.createElement('div');
expect((match(nodeA).toEqual(nodeA))).toPass();
expect((match(nodeA).toEqual(nodeB))).toFail();
expect(match(nodeA).toEqual(nodeA)).toPass();
expect(match(nodeA).toEqual(nodeB)).toFail();
});
});