Created
January 27, 2022 23:08
-
-
Save rodrigogs/428d8bfa0c072b9fa06dc76c692e34e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const findDuplicatedObjectKeyValues = require('./cu.js') | |
describe('Cu', () => { | |
it('should meu pau', () => { | |
const keys = findDuplicatedObjectKeyValues({ | |
a: 1, | |
b: 2, | |
c: 3, | |
d: 4, | |
e: 1, | |
f: 2, | |
}) | |
expect(keys).toEqual(['e', 'f']) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment