Skip to content

Commit

Permalink
feat: bump all devDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaudAV committed Oct 3, 2020
1 parent 53b446c commit a8a029e
Show file tree
Hide file tree
Showing 8 changed files with 345 additions and 309 deletions.
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,26 +61,26 @@
"@angular/cli": "~10.1.4",
"@angular/compiler-cli": "~10.1.4",
"@angular/language-service": "~10.1.4",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@types/jasmine": "~3.5.10",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/jasmine": "~3.5.14",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^13.7.7",
"codelyzer": "^5.1.2",
"husky": "^4.2.3",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"@types/node": "^14.11.2",
"codelyzer": "^6.0.1",
"husky": "^4.3.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~6.0.0",
"karma": "~5.2.3",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"ng-packagr": "^10.1.0",
"prettier": "^1.19.1",
"prettier": "^2.1.2",
"protractor": "~7.0.0",
"semantic-release": "^17.0.4",
"ts-node": "~8.8.1",
"tslint": "~6.1.0",
"semantic-release": "^17.1.2",
"ts-node": "~9.0.0",
"tslint": "~6.1.3",
"typescript": "~4.0.3"
}
}
2 changes: 1 addition & 1 deletion projects/ngx-raptorize-demo/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html

module.exports = function(config) {
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
Expand Down
16 changes: 9 additions & 7 deletions projects/ngx-raptorize-demo/src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import { TestBed, async } from '@angular/core/testing';
import { TestBed, waitForAsync } from '@angular/core/testing';
import { AppComponent } from './app.component';
import { NgxRaptorizeModule } from 'ngx-raptorize';

describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [NgxRaptorizeModule],
declarations: [AppComponent],
}).compileComponents();
}));
beforeEach(
waitForAsync(() => {
TestBed.configureTestingModule({
imports: [NgxRaptorizeModule],
declarations: [AppComponent],
}).compileComponents();
}),
);

it('should create the app', () => {
const fixture = TestBed.createComponent(AppComponent);
Expand Down
2 changes: 1 addition & 1 deletion projects/ngx-raptorize/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html

module.exports = function(config) {
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
Expand Down
4 changes: 1 addition & 3 deletions projects/ngx-raptorize/src/lib/konamiCode.directive.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ const bKey = new KeyboardEvent('keydown', { key: 'b' });
const aKey = new KeyboardEvent('keydown', { key: 'a' });

@Component({
template: `
<div class="some-div" ngxKonamiCode (konami)="sayOk()"></div>
`,
template: ` <div class="some-div" ngxKonamiCode (konami)="sayOk()"></div> `,
})
class TestComponent {
sayOk() {
Expand Down
30 changes: 16 additions & 14 deletions projects/ngx-raptorize/src/lib/ngx-raptorize.component.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 { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';

import { NgxRaptorizeComponent } from './ngx-raptorize.component';
import { NGX_RAPTORIZE_CONFIG } from './ngx-raptorize.token';
Expand All @@ -7,20 +7,22 @@ describe('NgxRaptorizeComponent', () => {
let component: NgxRaptorizeComponent;
let fixture: ComponentFixture<NgxRaptorizeComponent>;

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [NgxRaptorizeComponent],
providers: [
{
provide: NGX_RAPTORIZE_CONFIG,
useValue: {
raptorImgSrc: '',
raptorSoundSrc: '',
beforeEach(
waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [NgxRaptorizeComponent],
providers: [
{
provide: NGX_RAPTORIZE_CONFIG,
useValue: {
raptorImgSrc: '',
raptorSoundSrc: '',
},
},
},
],
}).compileComponents();
}));
],
}).compileComponents();
}),
);

beforeEach(() => {
fixture = TestBed.createComponent(NgxRaptorizeComponent);
Expand Down
2 changes: 1 addition & 1 deletion projects/ngx-raptorize/src/lib/ngx-raptorize.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import {
})
export class NgxRaptorizeComponent {
@ViewChild('raptor')
raptor: ElementRef;
raptor!: ElementRef;

constructor(
@Inject(NGX_RAPTORIZE_CONFIG) public raptorizeConfig: NgxRaptorizeConfig,
Expand Down
Loading

0 comments on commit a8a029e

Please sign in to comment.