feat: scrub mac address from objects #19
Annotations
2 errors
macAndIdScrubber should scrub a list of objects:
src/scrubber.test.ts#L448
expect(received).toEqual(expected) // deep equality
- Expected - 4
+ Received + 4
Object {
"HardwareDevices": Array [
Object {
"foo": "bar",
- "id": "123|1",
+ "id": "123|mac",
"mac": "1",
},
Object {
"foo": "bar",
- "id": "123|2",
+ "id": "123|cheese",
"mac": "2",
},
Object {
"foo": "bar",
- "id": "3",
+ "id": "tom",
"mac": "3",
},
Object {
"foo": "bar",
- "id": "4|123|4",
+ "id": "mac|123|mac",
"mac": "4",
},
],
}
at Object.<anonymous> (src/scrubber.test.ts:448:18)
|
build-job
Process completed with exit code 1.
|