<commit_before>var assert = require('assert');
describe('Array', function() {
  describe('#indexOf()', function() {
    it('should return -1 when the value is not present', function() {
      assert.equal(-1, [1,2,3].indexOf(4));
    });
  });
});<commit_msg>first test/test.js - stubs for testing users.js<commit_after>var assert = require('chai').assert;
var should = require('chai').should();

describe('Array', function() {
  describe('#indexOf()', function() {
    it('should return -1 when the value is not present', function() {
      [1,2,3].indexOf(4).should.equal(-1);
    });
  });
});

describe("Users Mechanisms", function() {
	describe("Create a User", function() {
		it('should not insert a user to the db that already exists', function() {
			// TODO: real code here ...
			['foobar'].toString().should.equal(['foobar'].toString());
		});
		it('should insert a user to the db that does not exist yet', function() {
			// TODO: real code here ...
		});
	});

	describe("Authenticate a User", function() {
			// TODO: real code here ...
	});
});
{'fraction_non_alphanumeric': 0.20113314447592068, 'fraction_numerical': 0.0113314447592068, 'mean_word_length': 3.774774774774775, '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': '2072772', 'n_tokens_mistral': 337, 'n_tokens_neox': 316, 'n_words': 94}