Skip to content

Commit

Permalink
chore(build): adjust build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nivekcode committed Mar 17, 2021
1 parent afaf73e commit e8c46fd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
- ng lint
- stage: test
script:
- npm run test:lib:coverage
- npm run report-coverage:lib
- npm run test:coverage
- npm run report-coverage
- stage: build & publish lib
script:
- npm run build:lib
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test": "jest --config ./projects/pretty-html-log/jest.config.js",
"test:coverage": "jest --coverage --config ./projects/pretty-html-log/jest.config.js",
"test:watch": "jest -o --watch --config ./projects/pretty-html-log/jest.config.js",
"report-coverage:lib": "cat ./projects/pretty-html-log/coverage/lcov.info | codecov",
"report-coverage": "cat ./projects/pretty-html-log/coverage/lcov.info | codecov",
"lint": "ng lint",
"e2e": "ng e2e",
"semantic-release": "semantic-release"
Expand Down
4 changes: 2 additions & 2 deletions projects/pretty-html-log/src/lib/logNgHTML.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import {async, ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing';
import { Component, DebugElement } from '@angular/core';
import { By } from '@angular/platform-browser';
import * as prettyHTMLLog from 'pretty-html-log';
Expand Down Expand Up @@ -28,7 +28,7 @@ describe('LogNgHTML', () => {
const theme = THEMES.DRACULA;
const enableComments = true;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [MockComponent]
}).compileComponents();
Expand Down

0 comments on commit e8c46fd

Please sign in to comment.