backstage / community-plugins

Community plugins for Backstage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

msw: bump to v2

vinzscam opened this issue ยท comments

๐Ÿ“œ Description

msw should be bumped to v2.
Related to #397

Migration guide: https://mswjs.io/docs/migrations/1.x-to-2.x

@vinzscam Can I pick this?

@subash54 Sure, go ahead ๐Ÿ™

@vinzscam I need to add extra configurations to the Jest config for the upgrade.

  • One workaround is to add the additional config for each plugin under the community plugins section in the package.json.

    image
  • Alternatively, should I add these configurations to the base config in the jest.js file in the Backstage repository?

Which approach should I take? I need your help ๐Ÿ™

let's go with approach 1 for now ๐Ÿ™