From 2299fb5232594fa6b3f73927334e9a2c3ec9f9f2 Mon Sep 17 00:00:00 2001 From: Himanshi Gupta <89007259+himanshiLt@users.noreply.github.com> Date: Wed, 22 Jun 2022 16:18:16 +0530 Subject: [PATCH 1/5] Create .tas.yml --- .tas.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .tas.yml diff --git a/.tas.yml b/.tas.yml new file mode 100644 index 0000000..e3e0d34 --- /dev/null +++ b/.tas.yml @@ -0,0 +1,19 @@ +--- +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/synapse:py3.8 From e7c67e03353539bdddd4318027827a56fd66c608 Mon Sep 17 00:00:00 2001 From: Himanshi Gupta <89007259+himanshiLt@users.noreply.github.com> Date: Wed, 22 Jun 2022 16:31:45 +0530 Subject: [PATCH 2/5] Create mocharc.yml --- mocharc.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 mocharc.yml 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 From 18171eb0b8689f36e5d9af48d1545172b150db69 Mon Sep 17 00:00:00 2001 From: Himanshi Gupta <89007259+himanshiLt@users.noreply.github.com> Date: Wed, 22 Jun 2022 16:36:34 +0530 Subject: [PATCH 3/5] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", From ab42c18d99f76db58ca9943b7e16e70e0613f437 Mon Sep 17 00:00:00 2001 From: Himanshi Gupta <89007259+himanshiLt@users.noreply.github.com> Date: Wed, 22 Jun 2022 16:50:14 +0530 Subject: [PATCH 4/5] Update .tas.yml --- .tas.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.tas.yml b/.tas.yml index e3e0d34..6abd3c3 100644 --- a/.tas.yml +++ b/.tas.yml @@ -17,3 +17,4 @@ configFile: mocharc.yml nodeVersion: 12.22.6 version: 1.0 containerImage: lambda2dockerhub/synapse:py3.8 + From 4a62cd3a1d132bfa8f2a517763ccf7e1d76f0d0a Mon Sep 17 00:00:00 2001 From: Himanshi Gupta <89007259+himanshiLt@users.noreply.github.com> Date: Wed, 22 Jun 2022 16:52:19 +0530 Subject: [PATCH 5/5] Update .tas.yml --- .tas.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tas.yml b/.tas.yml index 6abd3c3..29060f0 100644 --- a/.tas.yml +++ b/.tas.yml @@ -16,5 +16,5 @@ postRun: configFile: mocharc.yml nodeVersion: 12.22.6 version: 1.0 -containerImage: lambda2dockerhub/synapse:py3.8 +containerImage: lambda2dockerhub/nucleus:py3.8