Skip to content

Commit e8c46fd

Browse files
committed
chore(build): adjust build scripts
1 parent afaf73e commit e8c46fd

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
- ng lint
1515
- stage: test
1616
script:
17-
- npm run test:lib:coverage
18-
- npm run report-coverage:lib
17+
- npm run test:coverage
18+
- npm run report-coverage
1919
- stage: build & publish lib
2020
script:
2121
- npm run build:lib

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"test": "jest --config ./projects/pretty-html-log/jest.config.js",
1616
"test:coverage": "jest --coverage --config ./projects/pretty-html-log/jest.config.js",
1717
"test:watch": "jest -o --watch --config ./projects/pretty-html-log/jest.config.js",
18-
"report-coverage:lib": "cat ./projects/pretty-html-log/coverage/lcov.info | codecov",
18+
"report-coverage": "cat ./projects/pretty-html-log/coverage/lcov.info | codecov",
1919
"lint": "ng lint",
2020
"e2e": "ng e2e",
2121
"semantic-release": "semantic-release"

projects/pretty-html-log/src/lib/logNgHTML.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
1+
import {async, ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing';
22
import { Component, DebugElement } from '@angular/core';
33
import { By } from '@angular/platform-browser';
44
import * as prettyHTMLLog from 'pretty-html-log';
@@ -28,7 +28,7 @@ describe('LogNgHTML', () => {
2828
const theme = THEMES.DRACULA;
2929
const enableComments = true;
3030

31-
beforeEach(async(() => {
31+
beforeEach(waitForAsync(() => {
3232
TestBed.configureTestingModule({
3333
declarations: [MockComponent]
3434
}).compileComponents();

0 commit comments

Comments
 (0)