{"size": 635, "ext": "js", "max_stars_repo_path": "packages/ember-template-compiler/tests/system/compile_options_test.js", "max_stars_repo_name": "tricknotes/ember.js", "max_stars_repo_stars_event_min_datetime": "2016-08-26T11:44:22.000Z", "max_stars_repo_stars_event_max_datetime": "2016-08-26T11:44:22.000Z", "max_issues_repo_path": "packages/ember-template-compiler/tests/system/compile_options_test.js", "max_issues_repo_name": "tricknotes/ember.js", "max_issues_repo_issues_event_min_datetime": "2019-08-16T13:22:23.000Z", "max_issues_repo_issues_event_max_datetime": "2021-08-02T11:26:12.000Z", "max_forks_repo_path": "packages/ember-template-compiler/tests/system/compile_options_test.js", "max_forks_repo_name": "RyEnd/ember.js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 59, "max_forks_count": null, "avg_line_length": 31.75, "max_line_length": 66, "alphanum_fraction": 0.7275590551}
import { defaultCompileOptions } from 'ember-template-compiler';
import defaultPlugins from 'ember-template-compiler/plugins';

QUnit.module('ember-template-compiler: default compile options');

QUnit.test('default options are a new copy', function() {
  notEqual(defaultCompileOptions(), defaultCompileOptions());
});

QUnit.test('has default AST plugins', function(assert) {
  assert.expect(defaultPlugins.length);

  let plugins = defaultCompileOptions().plugins.ast;

  for (let i = 0; i < defaultPlugins.length; i++) {
    let plugin = defaultPlugins[i];
    assert.ok(plugins.indexOf(plugin) > -1, `includes ${plugin}`);
  }
});
