<commit_before>describe("one tautology", function() {
  it("is a tautology", function() {
    expect(true).toBeTruthy();
  });

  describe("is awesome", function() {
    it("is awesome", function() {
      expect(1).toBe(1);
    });
  });
});

describe("simple tests", function() {
  it("increments", function() {
    var mike = 0;

    expect(mike++ === 0).toBeTruthy();
    expect(mike === 1).toBeTruthy();
  });

  it("increments (improved)", function() {
    var mike = 0;

    expect(mike++).toBe(0);
    expect(mike).toBe(1);
  });
});

describe("setUp/tearDown", function() {
  beforeEach(function() {
    // console.log("Before");
  });

  afterEach(function() {
    // console.log("After");
  });

  it("example", function() {
    // console.log("During");
  });

  describe("setUp/tearDown", function() {
    beforeEach(function() {
      // console.log("Before2");
    });

    afterEach(function() {
      // console.log("After2");
    });

    it("example", function() {
      // console.log("During Nested");
    });
  });
});

describe("async", function() {
  it("multiple async", function() {
    var semaphore = 2;

    setTimeout(function() {
      expect(true).toBeTruthy();
      semaphore--;
    }, 500);

    setTimeout(function() {
      expect(true).toBeTruthy();
      semaphore--;
    }, 500);

    waitsFor(function() { return semaphore === 0 });
  });
});
<commit_msg>Fixes for #454 "yeoman init bbb" example specs use correct chai matchers<commit_after>describe("one tautology", function() {
  it("is a tautology", function() {
    expect(true).to.be.true;
  });

  describe("is awesome", function() {
    it("is awesome", function() {
      expect(1).to.equal(1);
    });
  });
});

describe("simple tests", function() {
  it("increments", function() {
    var mike = 0;

    expect(mike++ === 0).to.be.true;
    expect(mike === 1).to.be.true;
  });

  it("increments (improved)", function() {
    var mike = 0;

    expect(mike++).to.equal(0);
    expect(mike).to.equal(1);
  });
});

describe("setUp/tearDown", function() {
  beforeEach(function() {
    // console.log("Before");
  });

  afterEach(function() {
    // console.log("After");
  });

  it("example", function() {
    // console.log("During");
  });

  describe("setUp/tearDown", function() {
    beforeEach(function() {
      // console.log("Before2");
    });

    afterEach(function() {
      // console.log("After2");
    });

    it("example", function() {
      // console.log("During Nested");
    });
  });
});

describe("async", function() {
  it("multiple async", function(done) {
    var semaphore = 2;

    setTimeout(function() {
      expect(true).to.be.true;
      semaphore--;
    }, 500);

    setTimeout(function() {
      expect(true).to.be.true;
      semaphore--;
    }, 500);

    setTimeout(function() {
      expect(semaphore).to.equal(0);
      done();
    }, 600);
  });
});


{'fraction_non_alphanumeric': 0.2181567138419054, 'fraction_numerical': 0.014497756299620296, 'mean_word_length': 2.869158878504673, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3866853', 'n_tokens_mistral': 1038, 'n_tokens_neox': 970, 'n_words': 159}