Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
test('Can clone Blob', () => {
const blob1 = new Blob([1, 2, 3], { type: 'text/plain' });
const blob2 = structuredClone(blob1);
expect(blob1).toEqual(blob2);
});