-
-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Master > Develop #807
Master > Develop #807
Conversation
divyanshu-rawat
commented
Apr 22, 2020
•
edited
Loading
edited
- Utilize ignitus-Shared/index. Utilize ignitus-Shared/index. #806
- [dev]: Remove houndCI [dev]: Remove houndCI #811
- [ignitus-Shared]: Unit tests [ignitus-Shared]: Unit tests #812
- Readme change Readme change #810
- Added buttons with icons on left Added buttons with icons on left #809
- Secondary Dropdown Secondary Dropdown #808
- Unit tests Unit tests #813
- [ignitus-Shared/atoms]: unit tests [ignitus-Shared/atoms]: unit tests #814
Utilize ignitus-Shared/index.
Codecov Report
@@ Coverage Diff @@
## master #807 +/- ##
=================================================
+ Coverage 0.56818% 2.84091% +2.27273%
=================================================
Files 5 5
Lines 176 176
Branches 48 48
=================================================
+ Hits 1 5 +4
+ Misses 175 171 -4
Continue to review full report at Codecov.
|
…into readme-update
Readme change
> configure eslint for typescript > add prettier plugin in eslint > script to lint files and fix linting errors > add lint script to husky pre-commit & travis build > fix eslint & prettier errors
[dev]: Remove houndCI
@@ -23,7 +23,7 @@ describe('Testimonial Selectors', () => { | |||
author: 'John Smith', | |||
source: 'https://example.com', | |||
}]; | |||
const testimonialState = data | |||
const testimonialState = data; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
@@ -41,7 +41,7 @@ async function getHeaders(name) { | |||
headers: { | |||
'If-None-Match': item.etag, | |||
}, | |||
validateStatus: status => (status >= 200 && status < 300) || status === 304, | |||
validateStatus: (status) => (status >= 200 && status < 300) || status === 304, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').
@@ -21,7 +21,7 @@ export async function getTestimonialData() { | |||
} | |||
return await DBHelper.getDataFromDB(t.TESTIMONIALS_STORE); | |||
} catch (err) { | |||
return new Promise(reject => reject(err)); | |||
return new Promise((reject) => reject(err)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').
}).catch((err) => { | ||
console.log('failure', err); | ||
}); | ||
} catch (error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
Expected an identifier and instead saw ')'.
Expected an identifier and instead saw 'catch'.
Expected an operator and instead saw '('.
Missing semicolon.
catch (error) { | ||
}).then((response) => { | ||
console.log('success', response); | ||
}).catch((err) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').
}) | ||
} | ||
catch (error) { | ||
}).then((response) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').
@@ -47,20 +47,19 @@ function registerValidSW(swUrl) { | |||
'BMRATagxJMbZdcX-a-lwaMC93vL7-Kmr3trsTc_g0HJy6C6UGCRMSKfxzJUOjAsXt3W5Ov7t_a8J9y9qROw9mFE', | |||
), | |||
}); | |||
try { | |||
try { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected ')' and instead saw 'try'.
Missing semicolon.
@@ -17,7 +17,7 @@ const minLengthValidator = (value, minLength) => value.length >= minLength; | |||
* @param value | |||
* @return | |||
*/ | |||
const requiredValidator = value => value.trim() !== ''; | |||
const requiredValidator = (value) => value.trim() !== ''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').
'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
@@ -23,7 +23,7 @@ describe('Testimonial Selectors', () => { | |||
author: 'John Smith', | |||
source: 'https://example.com', | |||
}]; | |||
const testimonialState = data | |||
const testimonialState = data; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
@@ -41,7 +41,7 @@ async function getHeaders(name) { | |||
headers: { | |||
'If-None-Match': item.etag, | |||
}, | |||
validateStatus: status => (status >= 200 && status < 300) || status === 304, | |||
validateStatus: (status) => (status >= 200 && status < 300) || status === 304, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').
@@ -21,7 +21,7 @@ export async function getTestimonialData() { | |||
} | |||
return await DBHelper.getDataFromDB(t.TESTIMONIALS_STORE); | |||
} catch (err) { | |||
return new Promise(reject => reject(err)); | |||
return new Promise((reject) => reject(err)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').
enzyme-to-json is useful to generate html snapshot of component jest-emotion is used to test emotion styled component
[ignitus-Shared]: Unit tests
Added buttons with icons on left
Secondary Dropdown
Unit tests
[ignitus-Shared/atoms]: unit tests