Skip to content

Instantly share code, notes, and snippets.

@rodrigogs
Created January 27, 2022 23:08
Show Gist options
  • Save rodrigogs/428d8bfa0c072b9fa06dc76c692e34e5 to your computer and use it in GitHub Desktop.
Save rodrigogs/428d8bfa0c072b9fa06dc76c692e34e5 to your computer and use it in GitHub Desktop.
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