pixiebrix-extension icon indicating copy to clipboard operation
pixiebrix-extension copied to clipboard

Add tests for `codeGrantFlow` and `implicitGrantFlow`

Open BLoe opened this issue 1 year ago • 0 comments

We recently committed a bug related to changing the request parameters accidentally on the auth request. We should add some basic unit tests around the grant flow functions that just verify that request parameters/headers/etc are not changing. Basically like snapshot tests for the web requests involved in these grant flow functions, as a safety check going forward.

Related context:

  • Bug: https://pixiebrix.slack.com/archives/C0436P48QHY/p1719515794059689
  • Bug Fix PR: https://github.com/pixiebrix/pixiebrix-extension/pull/8714

BLoe avatar Jun 27 '24 20:06 BLoe