<commit_before>'use strict'

const db = require('APP/db')
    , {Order} = db
    , {expect} = require('chai')

/* global describe it before afterEach  beforeEach */

describe('Order', () => {
  before('Await database sync', () => db.didSync)
  beforeEach(function() {<commit_msg>test stuff incomplete<commit_after>'use strict'

const db = require('APP/db')
    , {Order} = db
    , {expect} = require('chai')

/* global describe it before afterEach  beforeEach */

describe('Order', () => {
  before('Await database sync', () => db.didSync)
  beforeEach(function() {
    const order1 = {
      products: {1: 3, 4: 3},
      subtotal: 23.70,
      tax: 2.04,
      address: '199 Myhouse ln',
      city: 'New York',
      state: 'NY',
      zip: '11211',
      shippingMethod: 'Express',
      completedPurchase: true,
      purchaseDate: Date.now(),
      // user_id: 1
    }
    const order2 = {
      products: {},
      address: '500 Somewhere St',
      city: 'Los Angeles',
      state: 'CA',
      zip: '90541',
      shippingMethod: 'Standard',
      completedPurchase: false,
      // user_id: 1
    }
    const order3 = {
      products: {6: 80},
      subtotal: 316.00,
      tax: 27.26,
      address: '5 Beehive Dr',
      city: 'Chicago',
      zip: '36485',
      shippingMethod: 'Express',
      completedPurchase: true,
      purchaseDate: Date.now(),
      // user_id: 2
    }
    const order4 = {
      products: {7: 30, 14: 1},
      subtotal: 122.45,
      tax: 10.56,
      zip: 88906,
      shippingMethod: 'Express',
      completedPurchase: false,
      // user_id: 3
    }
{'fraction_non_alphanumeric': 0.15341264871634314, 'fraction_numerical': 0.045710707576706325, 'mean_word_length': 2.3016528925619837, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '7212692', 'n_tokens_mistral': 578, 'n_tokens_neox': 529, 'n_words': 138}