diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c76178..0ed8e28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,10 @@ Please join and contribute: * relax_column_count: rename INCONSISTENT_RECORD_LENGTH to RECORD_INCONSISTENT_FIELDS_LENGTH (easy) * relax_column_count: rename RECORD_DONT_MATCH_COLUMNS_LENGTH to RECORD_INCONSISTENT_COLUMNS (easy) +## Trunk + +* package: mocha inside package declaration + ## Version 4.14.0 * on_record: expose info.error when relax_column_count is activated diff --git a/package.json b/package.json index a4b1814..c09652d 100644 --- a/package.json +++ b/package.json @@ -71,6 +71,18 @@ ], "optionalDependencies": {}, "main": "./lib", + "mocha": { + "throw-deprecation": true, + "require": [ + "should", + "coffeescript/register", + "ts-node/register" + ], + "inline-diffs": true, + "timeout": 40000, + "reporter": "spec", + "recursive": true + }, "scripts": { "preversion": "grep '## Trunk' CHANGELOG.md && npm test && cp lib/*.ts lib/es5 && git add lib/es5/*.ts", "version": "version=`grep '^ \"version\": ' package.json | sed 's/.*\"\\([0-9\\.]*\\)\".*/\\1/'` && sed -i \"s/## Trunk/## Version $version/\" CHANGELOG.md && git add CHANGELOG.md", diff --git a/test/mocha.opts b/test/mocha.opts deleted file mode 100644 index ae59bed..0000000 --- a/test/mocha.opts +++ /dev/null @@ -1,7 +0,0 @@ ---throw-deprecation ---require should ---require coffeescript/register ---require ts-node/register ---timeout 40000 ---reporter spec ---recursive