Files
radicle-explorer/cypress/support/component.ts
T
2022-08-31 17:47:07 +02:00

6 lines
199 B
TypeScript

import "@testing-library/cypress/add-commands";
import { Buffer } from "buffer";
//@ts-expect-error We need Buffer on the window object in the test env for component testing
window.Buffer = Buffer;