[CST-9636] WIP Create unit tests

This commit is contained in:
Giuseppe Digilio
2023-05-10 20:18:20 +02:00
parent e31fc562c5
commit 64c0fff370
15 changed files with 382 additions and 53 deletions

View File

@@ -65,6 +65,11 @@ export class AccessControlFormContainerComponent<T extends DSpaceObject> impleme
* Will be used from a parent component to read the value of the form
*/
getFormValue() {
console.log({
bitstream: this.bitstreamAccessCmp.getValue(),
item: this.itemAccessCmp.getValue(),
state: this.state
});
return {
bitstream: this.bitstreamAccessCmp.getValue(),
item: this.itemAccessCmp.getValue(),