Skip to content

Commit

Permalink
Use jasmine-ts to simplify the process
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbdye committed Jun 14, 2020
1 parent 8757adb commit f29fd50
Show file tree
Hide file tree
Showing 9 changed files with 464 additions and 33 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ jobs:

- name: Install dependencies
run: npm i

- name: Build specs
run: npm run build:test

- name: Run unit tests
run: npm run test
3 changes: 0 additions & 3 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ jobs:

- name: Install dependencies
run: npm i

- name: Build specs
run: npm run build:test

- name: Run unit tests
run: npm run test
3 changes: 1 addition & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ pipeline {
stage('Test') {
steps {
echo 'Testing...'
sh 'npm run build:test'
sh 'npm run test'
}
}
Expand All @@ -26,7 +25,7 @@ pipeline {
stage('Bundle') {
steps {
echo 'Bundling...'
sh 'npm run build:deploy'
sh 'npm run build'
}
}
stage('Deploy') {
Expand Down
13 changes: 13 additions & 0 deletions jasmine.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"spec_dir": "./src",
"spec_files": ["**/*.spec.ts"],
"reporters": [
{
"name": "jasmine-spec-reporter#SpecReporter",
"options": {
"displayStacktrace": "all"
}
}
],
"stopSpecOnExpectationFailure": false
}
Loading

0 comments on commit f29fd50

Please sign in to comment.