Skip to content

Instantly share code, notes, and snippets.

@Rishabh570
Created April 19, 2022 18:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rishabh570/df089095d130535517e36cc7d6042b0f to your computer and use it in GitHub Desktop.
Save Rishabh570/df089095d130535517e36cc7d6042b0f to your computer and use it in GitHub Desktop.
describe('Test getUniqueHash'), () => {
it('should return a new hash', () => {
const item = {
hash: '1234567890',
};
const newHash = getUniqueHash(item);
expect(newHash).to.not.equal(item.hash);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment