<commit_before>assert = require 'assert'
common = require './common'
fs = require 'fs'

describe.only 'Skip Header', ->
    before (done) ->
        options =
            path: 'src'
            skipHeader: true
        common.compileBundle 'skip_header', options, done

    it 'Compiles to a JS file', ->
        assert(fs.existsSync('tmp/skip_header/public/js/skip_header.bundle.js'))

    it 'Does not contain the require wrapper', ->
        assert.throws () ->
            common.execute 'skip_header', 'index', (vars) ->
<commit_msg>Run all tests again.<commit_after>assert = require 'assert'
common = require './common'
fs = require 'fs'

describe 'Skip Header', ->
    before (done) ->
        options =
            path: 'src'
            skipHeader: true
        common.compileBundle 'skip_header', options, done

    it 'Compiles to a JS file', ->
        assert(fs.existsSync('tmp/skip_header/public/js/skip_header.bundle.js'))

    it 'Does not contain the require wrapper', ->
        assert.throws () ->
            common.execute 'skip_header', 'index', (vars) ->

{'fraction_non_alphanumeric': 0.13518518518518519, 'fraction_numerical': 0.0, 'mean_word_length': 2.4426751592356686, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '4305590', 'n_tokens_mistral': 312, 'n_tokens_neox': 305, 'n_words': 87}