<commit_before>var request = require( 'supertest' ); // bubbling blancmange
var should = require( 'should' ); // never called directly: extends prototypes
var unlink = require( 'fs' ).unlinkSync;
var path = require( 'path' );
var app = require( '..' );

describe( 'running Express.js', function () {
	it( 'responds with a 404', function ( done ) {
		request( app )
			.get( '/foo' )
			.expect( 404, done );
	} );
} );

describe( 'static files', function () {
	before( function () {
		try {
			unlink( path.join ( __dirname, '/public/index.css' ) );
		} catch ( e ) {
			if ( e.code === 'ENOENT' ) { // i.e. file already gone
				return;<commit_msg>Expand path.join() call so it's actually useful!<commit_after>var request = require( 'supertest' ); // bubbling blancmange
var should = require( 'should' ); // never called directly: extends prototypes
var unlink = require( 'fs' ).unlinkSync;
var path = require( 'path' );
var app = require( '..' );

describe( 'running Express.js', function () {
	it( 'responds with a 404', function ( done ) {
		request( app )
			.get( '/foo' )
			.expect( 404, done );
	} );
} );

describe( 'static files', function () {
	before( function () {
		try {
			unlink( path.join ( __dirname, 'public', 'index.css' ) );
		} catch ( e ) {
			if ( e.code === 'ENOENT' ) { // i.e. file already gone
				return;
{'fraction_non_alphanumeric': 0.1797752808988764, 'fraction_numerical': 0.008988764044943821, 'mean_word_length': 3.268370607028754, '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': '1143559', 'n_tokens_mistral': 489, 'n_tokens_neox': 441, 'n_words': 138}