This commit is contained in:
Peter Maquiran
2022-12-17 17:48:34 +01:00
parent 75b74a0a09
commit 067c54bf00
2 changed files with 20 additions and 0 deletions
@@ -0,0 +1,8 @@
import { AddUserPipe } from './add-user.pipe';
describe('AddUserPipe', () => {
it('create an instance', () => {
const pipe = new AddUserPipe();
expect(pipe).toBeTruthy();
});
});
+12
View File
@@ -0,0 +1,12 @@
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'addUser'
})
export class AddUserPipe implements PipeTransform {
transform(value: unknown, ...args: unknown[]): unknown {
return null;
}
}