Mailspring/spec/fixtures
Annie c251884eaa 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
..
emails es6(tasks): send, syncback and specs converted to ES6 2016-03-17 16:23:53 -07:00
module-cache fix(drafts): Various improvements and fixes to drafts, draft state management 2015-02-03 16:24:31 -08:00
packages feat(babel6): Fix errors in es6 compilation and extending from coffeescript 2016-05-06 11:55:31 -07:00
paste feat(paste): Paste accepts more HTML, paste and match style now available 2015-12-07 15:34:03 -08:00
css.css fix(drafts): Various improvements and fixes to drafts, draft state management 2015-02-03 16:24:31 -08:00
db-test-model.coffee perf(db): Use subselect to improve thread list query perf (53%!) 2016-04-11 13:29:05 -07:00
sample.less refactor(env): new NylasEnv global 2015-11-17 16:41:20 -08:00
table-data.es6 fix(mail-merge): Fix column deletion and added a spec for uneven data 2016-07-28 12:12:10 -07:00
task-spec-handler.coffee refactor(spec) move spec-nylas to spec 2015-10-01 21:39:44 -07:00