Skip to content
This repository was archived by the owner on Aug 16, 2023. It is now read-only.

Can't get test to fail #12

@jessehattabaugh

Description

@jessehattabaugh

I'm just getting started so I'm probably doing something wrong but this test passes. I'm comparing google.com and yahoo.com, so I'd expect it to fail.

const Niffy = require('niffy');

describe('testing niffy', function () {
  let niffer = null;
  
  before(function () {
    niffer = new Niffy(
      'https://www.google.com',
      'https://www.yahoo.com',
      { show: true }
    );
  });
  
  it('/', function* () {
    yield niffer.test('/');
  });
  
  after(function* () {
    yield niffer.end();
  });
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions