Close u.omit
example code block
This commit is contained in:
parent
8cd3b4be86
commit
26d87e24f6
@ -394,6 +394,7 @@ var user = {
|
|||||||
var result = u({ user: u.omit(['authToken', 'SSN']) }, user);
|
var result = u({ user: u.omit(['authToken', 'SSN']) }, user);
|
||||||
|
|
||||||
expect(result).to.eql({ user: { email: 'john@aol.com', username: 'john123' } });
|
expect(result).to.eql({ user: { email: 'john@aol.com', username: 'john123' } });
|
||||||
|
```
|
||||||
|
|
||||||
### `u.omitted`
|
### `u.omitted`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user