test: refs #7308 fix axios.spec.js
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Javier Segarra 2024-12-10 15:36:35 +01:00
parent 632f7bbdeb
commit 8b3076640d
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ describe('Axios boot', () => {
describe('onRequest()', async () => {
it('should set the "Authorization" property on the headers', async () => {
const config = { headers: {} };
localStorage.setItem('token', 'DEFAULT_TOKEN');
const resultConfig = onRequest(config);
expect(resultConfig).toEqual(