diff --git a/src/lib/permissions/directives/allow/allow.directive.spec.ts b/src/lib/permissions/directives/allow/allow.directive.spec.ts
index ab9ba23..67be7d7 100644
--- a/src/lib/permissions/directives/allow/allow.directive.spec.ts
+++ b/src/lib/permissions/directives/allow/allow.directive.spec.ts
@@ -41,13 +41,11 @@ function getFixtureContent(): HTMLElement {
describe('Permission directive', () => {
@Component({
- template: `
-
- 123
- `,
+ template: `
+ 123
+ `,
})
- class TestComponent extends BaseTestComponent {
- }
+ class TestComponent extends BaseTestComponent {}
beforeEach(() => configureTestBed(TestComponent));
@@ -106,13 +104,11 @@ describe('Permission directive', () => {
describe('Permission directive with roles', () => {
@Component({
- template: `
-
- 123
- `,
+ template: `
+ 123
+ `,
})
- class TestComponent extends BaseTestComponent {
- }
+ class TestComponent extends BaseTestComponent {}
const awesomePermissions = 'AWESOME';
beforeEach(() => configureTestBed(TestComponent));
@@ -170,13 +166,11 @@ describe('Permission directive with roles', () => {
describe('Permission directive with roles array', () => {
@Component({
- template: `
-
- 123
- `,
+ template: `
+ 123
+ `,
})
- class TestComponent extends BaseTestComponent {
- }
+ class TestComponent extends BaseTestComponent {}
const awesomePermission = 'AWESOME';
beforeEach(() => configureTestBed(TestComponent));
@@ -227,13 +221,11 @@ describe('Permission directive with roles array', () => {
describe('Permission directive testing different selectors *allow', () => {
@Component({
- template: `
-
`,
+ template: ` `,
})
- class TestComponent extends BaseTestComponent {
- }
+ class TestComponent extends BaseTestComponent {}
beforeEach(() => configureTestBed(TestComponent));
@@ -300,13 +292,11 @@ describe('Permission directive testing different selectors *allow', () => {
describe('Permission directive angular testing different async functions in roles', () => {
@Component({
- template: `
- `,
+ template: ` `,
})
- class TestComponent extends BaseTestComponent {
- }
+ class TestComponent extends BaseTestComponent {}
beforeEach(() => configureTestBed(TestComponent));
@@ -333,13 +323,11 @@ describe('Permission directive angular testing different async functions in role
describe('Permission directive angular testing different async functions in roles via array', () => {
@Component({
- template: `
- `,
+ template: ` `,
})
- class TestComponent extends BaseTestComponent {
- }
+ class TestComponent extends BaseTestComponent {}
beforeEach(() => configureTestBed(TestComponent));
@@ -378,13 +366,11 @@ describe('Permission directive angular testing different async functions in role
describe('Permission directive with different async functions in permissions via array', () => {
@Component({
- template: `
- `,
+ template: ` `,
})
- class TestComponent extends BaseTestComponent {
- }
+ class TestComponent extends BaseTestComponent {}
beforeEach(() => configureTestBed(TestComponent));
@@ -443,13 +429,11 @@ describe('Permission directive with different async functions in permissions via
describe('Permission directive testing different async functions in permissions via string', () => {
@Component({
- template: `
- `,
+ template: ` `,
})
- class TestComponent extends BaseTestComponent {
- }
+ class TestComponent extends BaseTestComponent {}
beforeEach(() => configureTestBed(TestComponent));
@@ -527,8 +511,7 @@ describe('Permissions directive with else block', () => {
`,
})
- class TestComponent extends BaseTestComponent {
- }
+ class TestComponent extends BaseTestComponent {}
beforeEach(() => configureTestBed(TestComponent));
@@ -569,8 +552,7 @@ describe('Permissions directive with then block', () => {
`,
})
- class TestComponent extends BaseTestComponent {
- }
+ class TestComponent extends BaseTestComponent {}
beforeEach(() => configureTestBed(TestComponent));
@@ -592,8 +574,7 @@ describe('Permissions directive with empty argument', () => {
`,
})
- class TestComponent extends BaseTestComponent {
- }
+ class TestComponent extends BaseTestComponent {}
beforeEach(() => configureTestBed(TestComponent));
@@ -612,8 +593,7 @@ describe('Permissions directive with an empty array', () => {
`,
})
- class TestComponent extends BaseTestComponent {
- }
+ class TestComponent extends BaseTestComponent {}
beforeEach(() => configureTestBed(TestComponent));
@@ -626,13 +606,11 @@ describe('Permissions directive with an empty array', () => {
describe('Permission directive with true if condition', () => {
@Component({
- template: `
-
- 123
- `,
+ template: `
+ 123
+ `,
})
- class TestComponent extends BaseTestComponent {
- }
+ class TestComponent extends BaseTestComponent {}
beforeEach(() => configureTestBed(TestComponent));
@@ -652,13 +630,11 @@ describe('Permission directive with true if condition', () => {
describe('Permission directive with true if condition', () => {
@Component({
- template: `
-
- 123
- `,
+ template: `
+ 123
+ `,
})
- class TestComponent extends BaseTestComponent {
- }
+ class TestComponent extends BaseTestComponent {}
beforeEach(() => configureTestBed(TestComponent));
@@ -676,10 +652,9 @@ describe('Permission directive with true if condition', () => {
describe('Permission directive with true promise if condition', () => {
@Component({
- template: `
-
- 123
- `,
+ template: `
+ 123
+ `,
})
class TestComponent extends BaseTestComponent {
condition = Promise.resolve(true);
@@ -703,10 +678,9 @@ describe('Permission directive with true promise if condition', () => {
describe('Permission directive with false promise if condition', () => {
@Component({
- template: `
- `,
+ template: ` `,
})
class TestComponent extends BaseTestComponent {
condition = Promise.resolve(false);
@@ -783,10 +757,9 @@ describe('Permissions directive with then block and if condition', () => {
describe('Permission directive with false promise, if condition and change detection on push', () => {
@Component({
- template: `
- `,
+ template: ` `,
changeDetection: ChangeDetectionStrategy.OnPush,
})
class TestComponent extends BaseTestComponent {