<commit_before>define(['expectation'],
function (Expectation) {
	"use strict";

	describe('Expectation', function () {

		it('should namespace test methods to the context', function () {
			var x = new Expectation(window.console, 'hello');
			expect(x.toEqual).toBeDefined();
			expect(x.toBeTruthy).toBeDefined();
			expect(x.toBeFalsy).toBeDefined();
			expect(x.toBeDefined).toBeDefined();
		});

		it('should call console.out when a test is performed', function () {
			var x = new Expectation(window.console, 'hello');
			window.console.out = window.console.out || function () {return false;};
			spyOn(window.console, 'out');
			x.toEqual('hello');
			expect(window.console.out).toHaveBeenCalledWith(<commit_msg>alter spec to account for new expectation methods<commit_after>define(['expectation'],
function (Expectation) {
	"use strict";

	describe('Expectation', function () {

		it('should namespace test methods to the context', function () {
			var x = new Expectation(window.console, 'hello');
			expect(x.toEqual).toBeDefined();
			expect(x.toBeTruthy).toBeDefined();
			expect(x.toBeDefined).toBeDefined();
			expect(x.toBeNull).toBeDefined();
			expect(x.toBeCloseTo).toBeDefined();
		});

		it('should call console.out when a test is performed', function () {
			var x = new Expectation(window.console, 'hello');
			window.console.out = window.console.out || function () {return false;};
			spyOn(window.console, 'out');
			x.toEqual('hello');
			expect(window.console.out).toHaveBeenCalledWith(
{'fraction_non_alphanumeric': 0.15817339510258108, 'fraction_numerical': 0.0, 'mean_word_length': 4.952755905511811, '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': '4791882', 'n_tokens_mistral': 512, 'n_tokens_neox': 460, 'n_words': 101}