<commit_before>import commonRoutes from './routes';
import ENV from 'dummy/config/environment';
import { createServer, discoverEmberDataModels } from 'ember-cli-mirage';

const { apiVersion } = ENV;

export default function (config) {
  let finalConfig = {
    ...config,
    models: { ...discoverEmberDataModels(), ...config.models },
    routes() {
      this.namespace = '/';
      commonRoutes(this);
      this.get('application/config', function () {
        return {
          config: {
            type: 'form',
            apiVersion,
          },
        };
      });
    },
  };
<commit_msg>Import createServer from miragejs<commit_after>import commonRoutes from './routes';
import ENV from 'dummy/config/environment';
import { discoverEmberDataModels } from 'ember-cli-mirage';
import { createServer } from 'miragejs';

const { apiVersion } = ENV;

export default function (config) {
  let finalConfig = {
    ...config,
    models: { ...discoverEmberDataModels(), ...config.models },
    routes() {
      this.namespace = '/';
      commonRoutes(this);
      this.get('application/config', function () {
        return {
          config: {
            type: 'form',
            apiVersion,
          },
        };
      });
    },
  };

{'fraction_non_alphanumeric': 0.14411529223378702, 'fraction_numerical': 0.0, 'mean_word_length': 2.315649867374005, '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': '3369725', 'n_tokens_mistral': 356, 'n_tokens_neox': 359, 'n_words': 78}