cypress-plugin-api icon indicating copy to clipboard operation
cypress-plugin-api copied to clipboard

Modules not setup properly

Open iepoch opened this issue 1 year ago • 0 comments

As is

When installing cypress-api-plugin using --save-dev or -D for npm. Not all files are written causing issue with missing structure for one of the modules.

To be

Modules -> tansformData.d.ts uses an import { RequestProps } from 'src/types' More Modules are like this not just transformData.d.ts

image

Steps for work around

Change the Modules -> tansformData.d.ts uses an import { RequestProps } from '../types' This will work until you update the package again if you update the package this will get overwritten

iepoch avatar Dec 04 '23 14:12 iepoch