<commit_before>import { beforeEach, afterEach, describe } from 'mocha';
import { getContext } from 'ember-test-helpers';

export function createModule(Constructor, name, description, callbacks, tests, method) {
  var module;

  if (!tests) {
    if (!callbacks) {
      tests = description;<commit_msg>mocha-module: Add deprecation message<commit_after>import Ember from 'ember';
import { beforeEach, afterEach, describe } from 'mocha';
import { getContext } from 'ember-test-helpers';

export function createModule(Constructor, name, description, callbacks, tests, method) {
  Ember.deprecate(
    'The describeModule(), describeModel() and describeComponent() methods have been deprecated in favor of ' +
    'setupTest(), setupModelTest() and setupComponentTest().',
    false,
    { id: 'ember-mocha.describe-helpers', until: '1.0.0' }
  );

  var module;

  if (!tests) {
    if (!callbacks) {
      tests = description;
{'fraction_non_alphanumeric': 0.1264864864864865, 'fraction_numerical': 0.003243243243243243, 'mean_word_length': 4.578313253012048, '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': '4488982', 'n_tokens_mistral': 275, 'n_tokens_neox': 267, 'n_words': 80}