diff --git a/.tas.yml b/.tas.yml new file mode 100644 index 0000000..29060f0 --- /dev/null +++ b/.tas.yml @@ -0,0 +1,20 @@ +--- +framework: mocha +preMerge: + pattern: + - "./test/*.js" +preRun: + command: + - npm ci + - npm run compile +postMerge: + pattern: + - "./test/*.js" +postRun: + command: + - node --version +configFile: mocharc.yml +nodeVersion: 12.22.6 +version: 1.0 +containerImage: lambda2dockerhub/nucleus:py3.8 + diff --git a/mocharc.yml b/mocharc.yml new file mode 100644 index 0000000..dcd017f --- /dev/null +++ b/mocharc.yml @@ -0,0 +1,2 @@ +require: + - ts-node/register diff --git a/package.json b/package.json index 36e9f87..610f9d1 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "scripts": { "test": "tsc -p ./ && mocha -r ts-node/register", "appveyorTest": "tsc -p ./ && nyc mocha --reporter mocha-appveyor-reporter test/*.js", - "compile": "tsc -watch -p ./" + "compile": "tsc -p ./" }, "devDependencies": { "@types/mocha": "^8.2.1",