Skip to content

Commit 06635de

Browse files
gibarosSam
authored andcommitted
PR for Issue #915 - Apply FSPIOP error handling (#40)
* Per Sonar modify code to solve 2 bugs and 1 vulnerability, ran unit tests after changes * Update PR user logger instead of console log and use modern and consistent function definition syntax * Issue #915 - Apply FSPIOP error handling -remove package-lock.json from .gitignore -update package.json depedendencies and scripts -update existing error handling with FSPIOPError framework -update unit tests as required by update to existing error handling with FSPIOPError framework * 915 - Updates to config files -version change to match PI sprint -fix instanbul version * 915 - Updates to PR -update circleci config -update package.json dependencies and scripts -remove createPrepareErrorStatus * 915 - Update PR -update circleci test xunit script
1 parent aab447c commit 06635de

13 files changed

Lines changed: 1514 additions & 4238 deletions

File tree

‎.circleci/config.yml‎

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -173,32 +173,32 @@ jobs:
173173
paths:
174174
- node_modules
175175

176-
# test-unit:
177-
# <<: *defaults_working_directory
178-
# <<: *defaults_docker_node
179-
# steps:
180-
# - checkout
181-
# - run:
182-
# name: Install general dependencies
183-
# command: *defaults_Dependencies
184-
# - run:
185-
# <<: *defaults_environment
186-
# - restore_cache:
187-
# key: dependency-cache-{{ checksum "package.json" }}
188-
# - run:
189-
# name: Install tape, tapes and tap-xunit
190-
# command: npm install -g tape tapes tap-xunit
191-
# - run:
192-
# name: Create dir for test results
193-
# command: mkdir -p ./test/results
194-
# - run:
195-
# name: Execute unit tests
196-
# command: npm -s run test:xunit > ./test/results/tape.xml
197-
# - store_artifacts:
198-
# path: ./test/results
199-
# prefix: test
200-
# - store_test_results:
201-
# path: ./test/results
176+
test-unit:
177+
<<: *defaults_working_directory
178+
<<: *defaults_docker_node
179+
steps:
180+
- checkout
181+
- run:
182+
name: Install general dependencies
183+
command: *defaults_Dependencies
184+
- run:
185+
<<: *defaults_environment
186+
- restore_cache:
187+
key: dependency-cache-{{ checksum "package.json" }}
188+
- run:
189+
name: Install tape, tapes and tap-xunit
190+
command: npm install -g tape tapes tap-xunit
191+
- run:
192+
name: Create dir for test results
193+
command: mkdir -p ./test/results
194+
- run:
195+
name: Execute unit tests
196+
command: npm -s run test:xunit > ./test/results/tape.xml
197+
- store_artifacts:
198+
path: ./test/results
199+
prefix: test
200+
- store_test_results:
201+
path: ./test/results
202202

203203
# test-coverage:
204204
# <<: *defaults_working_directory
@@ -502,17 +502,17 @@ workflows:
502502
ignore:
503503
- /feature*/
504504
- /bugfix*/
505-
# - test-unit:
506-
# context: org-global
507-
# requires:
508-
# - setup
509-
# filters:
510-
# tags:
511-
# only: /.*/
512-
# branches:
513-
# ignore:
514-
# - /feature*/
515-
# - /bugfix*/
505+
- test-unit:
506+
context: org-global
507+
requires:
508+
- setup
509+
filters:
510+
tags:
511+
only: /.*/
512+
branches:
513+
ignore:
514+
- /feature*/
515+
- /bugfix*/
516516
# - test-coverage:
517517
# context: org-global
518518
# requires:

‎.gitignore‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ build/Release
3737
# Dependency directories
3838
node_modules/
3939
jspm_packages/
40-
package-lock.json
4140

4241
# TypeScript v1 declaration files
4342
typings/

0 commit comments

Comments
 (0)