From c290dfe92436101c670fd042d80d914579e4efed Mon Sep 17 00:00:00 2001 From: kaviyakulothungan10 <35080404+kaviyakulothungan10@users.noreply.github.com> Date: Thu, 7 Feb 2019 12:20:46 -0600 Subject: [PATCH 01/27] updating the code --- app/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/app.js b/app/app.js index c1a3533..3f70fcc 100644 --- a/app/app.js +++ b/app/app.js @@ -1,6 +1,6 @@ //angular.module('app', []); //angular.module('app', []); -angular.module('app', ['ngResource']); +angular.module('app', ['ngResource']) // angular.module('app').controller('testCtrl', function($scope) { @@ -10,4 +10,4 @@ angular.module('app').controller('testCtrl', function($scope, $resource) { //$scope.authors = [{name: 'Ravindranath Barathy', role:'Admin1'},{name: 'Kaviya Kulothungan', role:'Admin2'},{name: 'Vivek Cherarajan', role:'Admin3'}]; $scope.authors = $resource('/api/authors').query(); -}); \ No newline at end of file +}); From 7eca85f77a1003b4c792958000830d53e1bb4298 Mon Sep 17 00:00:00 2001 From: kaviyakulothungan10 <35080404+kaviyakulothungan10@users.noreply.github.com> Date: Thu, 7 Feb 2019 12:21:03 -0600 Subject: [PATCH 02/27] updating the code --- app/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.js b/app/app.js index 3f70fcc..fb234d2 100644 --- a/app/app.js +++ b/app/app.js @@ -1,6 +1,6 @@ //angular.module('app', []); //angular.module('app', []); -angular.module('app', ['ngResource']) +angular.module('app', ['ngResource'] // angular.module('app').controller('testCtrl', function($scope) { From 39a21266dfcb519ca0c01367063b80c01b5fd809 Mon Sep 17 00:00:00 2001 From: kaviyakulothungan10 <35080404+kaviyakulothungan10@users.noreply.github.com> Date: Thu, 7 Feb 2019 12:24:26 -0600 Subject: [PATCH 03/27] Creating JenkinsFile --- Jenkinsfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..a4ee604 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,8 @@ +node('docker') { + stage('SCM') { + checkout poll: false, scm: [$class: 'GitSCM', branches: [[name: 'refs/heads/develop']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://github.com/CodeBabel/MEANStackApp.git']]] + } + stage('Test') { + sh "/home/jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/sonarqubescanner/bin/sonar-scanner -Dsonar.host.url=http://192.168.0.14:9000 -Dsonar.projectName=meanstackapp1 -Dsonar.projectVersion=1.0 -Dsonar.projectKey=meanstack1:app1 -Dsonar.sources=. -Dsonar.projectBaseDir=/home/jenkins/workspace/sonarqube_test_pipeline" + } + } From 8ceaac92002b7d5aaa8371477cae8c7b7ce5ab3d Mon Sep 17 00:00:00 2001 From: kaviyakulothungan10 <35080404+kaviyakulothungan10@users.noreply.github.com> Date: Thu, 7 Feb 2019 12:24:39 -0600 Subject: [PATCH 04/27] creating readme file --- README.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..0244be3 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# MEANStackApp +MEANStackApp From ad8eb4ef29013791fd24883671576f9931e03280 Mon Sep 17 00:00:00 2001 From: kaviyakulothungan10 <35080404+kaviyakulothungan10@users.noreply.github.com> Date: Thu, 7 Feb 2019 12:26:46 -0600 Subject: [PATCH 05/27] fixing the syntax --- app/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.js b/app/app.js index fb234d2..73b146b 100644 --- a/app/app.js +++ b/app/app.js @@ -1,6 +1,6 @@ //angular.module('app', []); //angular.module('app', []); -angular.module('app', ['ngResource'] +angular.module('app', ['ngResource']); // angular.module('app').controller('testCtrl', function($scope) { From cb3ab24fdc0f21f76959f088056d0c034943f946 Mon Sep 17 00:00:00 2001 From: kaviyakulothungan10 <35080404+kaviyakulothungan10@users.noreply.github.com> Date: Thu, 7 Feb 2019 12:29:23 -0600 Subject: [PATCH 06/27] updating the jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index a4ee604..30a9c0f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,7 @@ node('docker') { stage('SCM') { checkout poll: false, scm: [$class: 'GitSCM', branches: [[name: 'refs/heads/develop']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://github.com/CodeBabel/MEANStackApp.git']]] } - stage('Test') { + stage('SonarQube Analysis) { sh "/home/jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/sonarqubescanner/bin/sonar-scanner -Dsonar.host.url=http://192.168.0.14:9000 -Dsonar.projectName=meanstackapp1 -Dsonar.projectVersion=1.0 -Dsonar.projectKey=meanstack1:app1 -Dsonar.sources=. -Dsonar.projectBaseDir=/home/jenkins/workspace/sonarqube_test_pipeline" } } From 23d47b268351213f3d5e2d273d2a3738cbffcca2 Mon Sep 17 00:00:00 2001 From: kaviyakulothungan10 <35080404+kaviyakulothungan10@users.noreply.github.com> Date: Thu, 7 Feb 2019 12:58:02 -0600 Subject: [PATCH 07/27] updating the jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 30a9c0f..05cec78 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,6 +3,6 @@ node('docker') { checkout poll: false, scm: [$class: 'GitSCM', branches: [[name: 'refs/heads/develop']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://github.com/CodeBabel/MEANStackApp.git']]] } stage('SonarQube Analysis) { - sh "/home/jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/sonarqubescanner/bin/sonar-scanner -Dsonar.host.url=http://192.168.0.14:9000 -Dsonar.projectName=meanstackapp1 -Dsonar.projectVersion=1.0 -Dsonar.projectKey=meanstack1:app1 -Dsonar.sources=. -Dsonar.projectBaseDir=/home/jenkins/workspace/sonarqube_test_pipeline" + sh "/home/jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/sonarqubescanner/bin/sonar-scanner -Dsonar.host.url=http://192.168.0.14:9000 -Dsonar.projectName=meanstackapp -Dsonar.projectVersion=1.0 -Dsonar.projectKey=meanstack:app -Dsonar.sources=. -Dsonar.projectBaseDir=/home/jenkins/workspace/sonarqube_test_pipeline" } } From 6601ed6c0f0740bdd3945e50e4b636e891a06ddd Mon Sep 17 00:00:00 2001 From: kaviyakulothungan10 <35080404+kaviyakulothungan10@users.noreply.github.com> Date: Thu, 7 Feb 2019 16:21:08 -0600 Subject: [PATCH 08/27] updating the Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 05cec78..cac421b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,7 @@ node('docker') { stage('SCM') { checkout poll: false, scm: [$class: 'GitSCM', branches: [[name: 'refs/heads/develop']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://github.com/CodeBabel/MEANStackApp.git']]] } - stage('SonarQube Analysis) { + stage('SonarQube Analysis') { sh "/home/jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/sonarqubescanner/bin/sonar-scanner -Dsonar.host.url=http://192.168.0.14:9000 -Dsonar.projectName=meanstackapp -Dsonar.projectVersion=1.0 -Dsonar.projectKey=meanstack:app -Dsonar.sources=. -Dsonar.projectBaseDir=/home/jenkins/workspace/sonarqube_test_pipeline" } } From 4cfa3a601c673aafdb3ff87cd042d0d816be7f0b Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 16:36:19 -0500 Subject: [PATCH 09/27] committing the yml file --- .github/workflows/nodejs.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/nodejs.yml diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 0000000..b15baf3 --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,26 @@ +name: Node CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [8.x, 10.x, 12.x] + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: npm install, build, and test + run: | + npm install + npm run build --if-present + npm test + env: + CI: true From ecd7abc175919916814a6045eab01492283e3555 Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 16:38:07 -0500 Subject: [PATCH 10/27] Delete nodejs.yml --- .github/workflows/nodejs.yml | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 .github/workflows/nodejs.yml diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml deleted file mode 100644 index b15baf3..0000000 --- a/.github/workflows/nodejs.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Node CI - -on: [push] - -jobs: - build: - - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [8.x, 10.x, 12.x] - - steps: - - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: npm install, build, and test - run: | - npm install - npm run build --if-present - npm test - env: - CI: true From 01251ead8f2fdb0af093da324de3c44e472d7f46 Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 16:41:24 -0500 Subject: [PATCH 11/27] new commit --- .github/workflows/workflow.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/workflow.yml diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000..fc95c17 --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,29 @@ +name: Node CI + +on: + push: + branches: + - ravindranathbarathy-cts-patch-1 + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [8.x, 10.x, 12.x] + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: npm install, build, and test + run: | + npm install + npm run build --if-present + npm test + env: + CI: true From 162be8d66712ba0dc1c81e0646ecd65c71968018 Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 16:45:00 -0500 Subject: [PATCH 12/27] updating changes --- .github/workflows/workflow.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index fc95c17..6623ff7 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -1,10 +1,5 @@ name: Node CI -on: - push: - branches: - - ravindranathbarathy-cts-patch-1 - jobs: build: @@ -23,7 +18,6 @@ jobs: - name: npm install, build, and test run: | npm install - npm run build --if-present - npm test + env: CI: true From 9c7f1970b321c754aa8f0f24ad6bf134aa156fdd Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 16:47:05 -0500 Subject: [PATCH 13/27] Delete workflow.yml --- .github/workflows/workflow.yml | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 .github/workflows/workflow.yml diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml deleted file mode 100644 index 6623ff7..0000000 --- a/.github/workflows/workflow.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Node CI - -jobs: - build: - - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [8.x, 10.x, 12.x] - - steps: - - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: npm install, build, and test - run: | - npm install - - env: - CI: true From c82bc98a65850cc0410de3e21a9d4237c787a870 Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 16:48:53 -0500 Subject: [PATCH 14/27] Create workflow.yml --- .github/workflows/workflow.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/workflow.yml diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000..6fa3834 --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,28 @@ +name: Node CI +on: + push: + branches: + - develop + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [8.x, 10.x, 12.x] + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: npm install, build, and test + run: | + npm install + npm run build --if-present + npm test + env: + CI: true From 561bd51c39ded610d6d8d70804c50b5f6030120f Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 23:02:18 -0500 Subject: [PATCH 15/27] Update workflow.yml --- .github/workflows/workflow.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 6fa3834..d38741b 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -22,7 +22,11 @@ jobs: - name: npm install, build, and test run: | npm install + nvm install 10.15 npm run build --if-present - npm test + npmm install mocha -g + mocha --version + npm install --save -dev chai + mocha exit env: CI: true From c9c41cac6d2ba1bcb0744325a62022b99595df0e Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 23:04:02 -0500 Subject: [PATCH 16/27] updating workflow.yml file --- .github/workflows/workflow.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index d38741b..cf71417 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -22,7 +22,6 @@ jobs: - name: npm install, build, and test run: | npm install - nvm install 10.15 npm run build --if-present npmm install mocha -g mocha --version From 7021e8d374ab29dba017c66feca565012c50ce08 Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 23:06:46 -0500 Subject: [PATCH 17/27] updating yml file --- .github/workflows/workflow.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index cf71417..818b2d9 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -22,8 +22,9 @@ jobs: - name: npm install, build, and test run: | npm install + nvm install 10.15 npm run build --if-present - npmm install mocha -g + npm install mocha -g mocha --version npm install --save -dev chai mocha exit From c904cb4fed7e643ca82f5405438ea2a68533b6a9 Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 23:08:21 -0500 Subject: [PATCH 18/27] updated --- .github/workflows/workflow.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 818b2d9..d71140f 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -22,7 +22,6 @@ jobs: - name: npm install, build, and test run: | npm install - nvm install 10.15 npm run build --if-present npm install mocha -g mocha --version From 0f6e279826b85f3419638a8e6dd1a7a76425eed9 Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 23:13:24 -0500 Subject: [PATCH 19/27] Update workflow.yml --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index d71140f..2361617 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -25,7 +25,7 @@ jobs: npm run build --if-present npm install mocha -g mocha --version - npm install --save -dev chai + npm install --save-dev chai mocha exit env: CI: true From 57c9ff806e0917752a7027187782a0daee37ea93 Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 23:22:31 -0500 Subject: [PATCH 20/27] Updating package.json for unit test error in mocha Replacing "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, with "scripts": { "test": "mocha 'test/**/*.ts'" }, due to a bug in mocha 6.0 https://github.com/mochajs/mocha/issues/3763 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0e2b214..be1d1a2 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Sample Dashboard App", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "mocha 'test/**/*.ts'" }, "author": "Kaviya Kulothungan", "license": "ISC", From c72f3b06f3bec096d3a82cb0ea44e0132410e5ad Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 23:26:45 -0500 Subject: [PATCH 21/27] pointing correctly to .js file --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index be1d1a2..e696ff9 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Sample Dashboard App", "main": "index.js", "scripts": { - "test": "mocha 'test/**/*.ts'" + "test": "mocha 'test/*.js'" }, "author": "Kaviya Kulothungan", "license": "ISC", From acf6bc34b75eb510b9c879a94f805c43aa38b262 Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 23:29:58 -0500 Subject: [PATCH 22/27] removing mocha exit --- .github/workflows/workflow.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 2361617..07fc42b 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -26,6 +26,5 @@ jobs: npm install mocha -g mocha --version npm install --save-dev chai - mocha exit env: CI: true From ad0bfcc6800d45d4a9a095ce7a194bef1657fc2a Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 23:33:02 -0500 Subject: [PATCH 23/27] calling mocha --- .github/workflows/workflow.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 07fc42b..42935b6 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -26,5 +26,6 @@ jobs: npm install mocha -g mocha --version npm install --save-dev chai + mocha env: CI: true From 3bfd1439314a35b22fe553d4fb663af1e3d3fd68 Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 23:39:24 -0500 Subject: [PATCH 24/27] updating package.json file --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e696ff9..86a2100 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Sample Dashboard App", "main": "index.js", "scripts": { - "test": "mocha 'test/*.js'" + "test": "mocha 'test/**/*.js' --timeout 60000 --exit", }, "author": "Kaviya Kulothungan", "license": "ISC", From b776464606617d32cbbf1ff7b191008185b90f76 Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 23:44:05 -0500 Subject: [PATCH 25/27] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 86a2100..db85e29 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Sample Dashboard App", "main": "index.js", "scripts": { - "test": "mocha 'test/**/*.js' --timeout 60000 --exit", + "test": "mocha 'test/**/*.js' --recursive --timeout 60000 --exit", }, "author": "Kaviya Kulothungan", "license": "ISC", From d8fb156145d65c45214582269a6eb4fde05738f9 Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 23:47:02 -0500 Subject: [PATCH 26/27] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index db85e29..48f3a54 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Sample Dashboard App", "main": "index.js", "scripts": { - "test": "mocha 'test/**/*.js' --recursive --timeout 60000 --exit", + "test": "mocha 'test/**/*.js' --recursive --timeout 60000 --exit" }, "author": "Kaviya Kulothungan", "license": "ISC", From 241c763ef60088742471298b28daaa342e1d7ac4 Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 23:57:58 -0500 Subject: [PATCH 27/27] Update workflow.yml --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 42935b6..2361617 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -26,6 +26,6 @@ jobs: npm install mocha -g mocha --version npm install --save-dev chai - mocha + mocha exit env: CI: true