-
Notifications
You must be signed in to change notification settings - Fork 5
Conversation
ce36527
to
bc07021
Compare
bc07021
to
3f39207
Compare
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.
looks great, small nits.
test/bulk-update/bulk-update.test.js
Outdated
@@ -65,6 +85,12 @@ describe('BulkUpdater', () => { | |||
expect(data).to.deep.equal(expectedData); | |||
}); | |||
|
|||
it('should return an empty array if source is not provided', async () => { |
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.
nit: should return
-> returns
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.
👍
}); | ||
|
||
describe('getVariantName', () => { | ||
const tests = [[0, 'A'], [25, 'Z'], [26, 'AA'], [51, 'AZ'], [52, 'BA'], [77, 'BZ'], [78, 'CA'], [701, 'ZZ'], [702, 'AAA']]; |
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.
might be good to put something unexpected in here to test mixed inputs?
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.
Added a test for unexpected inputs
Resolves: MWPW-141219