Skip to content

Commit

Permalink
fix: remove lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-canon committed Jan 18, 2024
1 parent 2501c53 commit bf4a369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/initialize.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Note that the env.config.js file in frontend-platform's root directory is NOT us
initialization code, it's just there for the test suite and example application.
*/
import envConfig from 'env.config'; // eslint-disable-line import/no-unresolved
import { getPath } from './utils';
import { getPath, mix } from './utils';
import {
publish,
} from './pubSub';
Expand Down Expand Up @@ -90,7 +90,6 @@ import {
PRIMARY_COLOR_DEFINITIONS,
} from './constants';
import configureCache from './auth/LocalForageCache';
import { mix } from './utils';

/**
* A browser history or memory history object created by the [history](https://github.com/ReactTraining/history)
Expand Down
3 changes: 1 addition & 2 deletions src/utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ describe('getQueryParameters', () => {
});
});


describe('mix', () => {
it('should return rigth value', () => {
const expected = '#546e88'; // This value was calculated in https://sass.js.org/ by using sass mix function
Expand All @@ -133,7 +132,7 @@ describe('mix', () => {
const expected = '#8598aa'; // This value was calculated in https://sass.js.org/ by using sass mix function

expect(mix('FFFFFF', '0A3055')).toBe(expected);
});
});
});

describe('ParseURL', () => {
Expand Down

0 comments on commit bf4a369

Please sign in to comment.