We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 047f3c4 commit 54831c1Copy full SHA for 54831c1
index.spec.js
@@ -91,7 +91,7 @@ describe('AppAuth', () => {
91
92
it('throws an error when redirectUrl is not a string', () => {
93
expect(() => {
94
- authorize({ ...config }, { redirectUrl: {} });
+ authorize({ ...config, redirectUrl: {} });
95
}).toThrow('Config error: redirectUrl must be a string');
96
});
97
@@ -103,7 +103,7 @@ describe('AppAuth', () => {
103
104
it('throws an error when no refreshToken is passed in', () => {
105
106
- refresh(config);
+ refresh(config, {});
107
}).toThrow('Please pass in a refresh token');
108
109
0 commit comments