Upgrading jest from v27 to v28

Hi

I understand that redwoodjs is using jest v27, I would like to upgrade to jest v28

how do I go about it? is it as simple as yarn add -D jest?