Mailspring/spec
Annie 796af843a0 fix(mail-merge): Fix column deletion and added a spec for uneven data
Summary: After importing an uneven csv (not all rows have the same number of columns e.g. rows: [[1,2][3,4,5]]), deleting the last column would improperly delete data in rows with fewer columns. This is because we were slicing each row based on row.length - 1 which is not the same for all rows. Fixed this by creating a new variable newNumColumns which is columns.length - 1.

Test Plan: Added new test data with uneven data and added a test in table-data-source-spec for removeLastColumn on this uneven set.

Reviewers: juan

Reviewed By: juan

Subscribers: juan

Differential Revision: https://phab.nylas.com/D3133
2016-07-28 12:12:10 -07:00
..
components fix(mail-merge): Fix column deletion and added a spec for uneven data 2016-07-28 12:12:10 -07:00
fixtures fix(mail-merge): Fix column deletion and added a spec for uneven data 2016-07-28 12:12:10 -07:00
models fix(contacts): Support unicode characters in domains #1920 2016-07-18 14:25:00 -07:00
services
stores fix(specs): Wait longer in DraftStore specs for window close 2016-07-28 11:20:02 -07:00
tasks refactor(folders): Make folders disappear when deleted rather than graying out until confirmed 2016-07-28 12:10:54 -07:00
action-bridge-spec.coffee feat(babel6): Convert message.coffee to message.es6 2016-05-06 11:55:27 -07:00
auto-update-manager-spec.coffee fix(identity): deprecate updaterId, provide safe access to identity.id 2016-06-02 18:56:09 -07:00
buffered-process-spec.coffee
component-registry-spec.coffee
database-object-registry-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
date-utils-spec.es6 feat(babel6): 1,774 linter errors 2016-05-06 11:55:46 -07:00
dom-utils-spec.coffee
extension-registry-spec.coffee feat(babel6): Detect when packages don't have a default export 2016-05-06 11:54:57 -07:00
jasmine-helper.coffee
jasmine.js
launch-services-spec.coffee
list-selection-spec.coffee
mail-rules-processor-spec.coffee
mailbox-perspective-spec.es6 fix(lint): Various linter issues 2016-05-06 16:06:16 -07:00
menu-manager-spec.coffee
module-cache-spec.coffee
n1-spec-reporter.cjsx
nylas-api-spec.coffee fix(401/403): Unify error bars, query /account, improve reconnect flow 2016-05-13 14:16:54 -07:00
nylas-env-spec.es6 fix(specs): Fix specs on Linux 2016-06-15 16:30:52 -07:00
nylas-protocol-handler-spec.coffee
nylas-test-utils.coffee
package-manager-spec.coffee
package-spec.coffee
quoted-html-transformer-spec.coffee
quoted-plain-text-transformer-spec.coffee
spec-bootstrap.coffee
spec-helper-platform.coffee
spec-helper.coffee fix(spec): fix config setting spy 2016-05-19 11:50:19 -07:00
spec-suite.coffee fix(quoted-text): Check that message is reply 2016-07-21 17:45:47 -07:00
spellchecker-spec.coffee
style-manager-spec.coffee
styles-element-spec.coffee rm(*): deprecated/unused Atom code, user stylesheet support 2016-05-04 14:27:46 -07:00
task-factory-spec.es6 fix(lint): Correct more linter errors 2016-05-06 14:10:28 -07:00
theme-manager-spec.coffee fix(themes): Properly set theme on the hot window 2016-06-09 14:12:44 -07:00
time-override.coffee
time-reporter.coffee
undo-stack-spec.es6 fix(specs): Fix merge conflicts and some specs 2016-05-24 19:04:20 -07:00
utils-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00