-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Make the tests pass #585
Make the tests pass #585
Conversation
|
||
self.viewModel.inputs.viewDidLoad() | ||
} | ||
|
||
override func viewDidLayoutSubviews() { |
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.
Shamefully stole this from https://useyourloaf.com/blog/variable-height-table-view-header and it seems to pass the tests 😄
Can you try this suggestion? Seemed to fix the tests for me 🤷♂️ |
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.
Thanks, seems all good!
* Add SelectCurrencyViewController * Fix tests * Add tableview header * Update snapshots * Added ViewController tests * Removed recordMode line from test * Simplify layout code for header * Remove SettingsCurrencyCell * Fix snapshot tests * Remove CaseIterable conformance on SettingsAccountCellType * Use reuseIdentifier local constant * Update pragma * Update tableview instantiation * Implicit returns in lazy vars * Fix alignment * ① [Currency selection] Remove currency picker (#568) * Remove currency picker * swiftlint * Remove redundant enum case * Remove reference * Remove local var, improve function name * Set label colour * Update snapshots * Fix project file * Correctly size header/footer views * Make the tests pass (#585) * Run snapshot tests on all devices * Remove duplicate extension, use keypath setter * Fix autolayout warnings
* Remove currency picker * swiftlint * Add SelectCurrencyViewController * Fix tests * Update snapshots * Add tableview header * Added ViewController tests * Removed recordMode line from test * Simplify layout code for header * Add update calls * swiftlint * Add update calls * Add view model tests * Remove stray file ref * Fix tests * swiftlint * Remove redundant enum case * Fix rebase duplication * Remove reference * Remove SettingsCurrencyCell * Fix snapshot tests * Remove CaseIterable conformance on SettingsAccountCellType * Use reuseIdentifier local constant * Update pragma * Update tableview instantiation * Implicit returns in lazy vars * Fix alignment * Add SelectCurrencyViewController * Fix tests * Add tableview header * Update snapshots * Added ViewController tests * Removed recordMode line from test * Simplify layout code for header * Remove SettingsCurrencyCell * Fix snapshot tests * Remove CaseIterable conformance on SettingsAccountCellType * Use reuseIdentifier local constant * Update pragma * Update tableview instantiation * Implicit returns in lazy vars * Fix alignment * ① [Currency selection] Remove currency picker (#568) * Remove currency picker * swiftlint * Remove redundant enum case * Remove reference * Remove local var, improve function name * Set label colour * Update snapshots * Fix project file * Correctly size header/footer views * Make the tests pass (#585) * Fix merge issue * Run snapshot tests on all devices * Remove duplicate extension, use keypath setter * Fix autolayout warnings * Fix merge issue * Add weak self, fix project file * Renamed signal * Refactor view model and tests * Use more inference
* ① [Currency selection] Remove currency picker (#568) * Remove currency picker * swiftlint * Remove redundant enum case * Remove reference * ③ [Currency selection] Add table view again (#582) * Remove currency picker * swiftlint * Add SelectCurrencyViewController * Fix tests * Update snapshots * Remove redundant enum case * Remove reference * Remove SettingsCurrencyCell * Fix snapshot tests * Remove CaseIterable conformance on SettingsAccountCellType * Use reuseIdentifier local constant * Update pragma * Update tableview instantiation * Set nav title * Fix yet another merge issue * Fix merge * ③ [Currency selection] Add table view header (#570) * Add SelectCurrencyViewController * Fix tests * Add tableview header * Update snapshots * Added ViewController tests * Removed recordMode line from test * Simplify layout code for header * Remove SettingsCurrencyCell * Fix snapshot tests * Remove CaseIterable conformance on SettingsAccountCellType * Use reuseIdentifier local constant * Update pragma * Update tableview instantiation * Implicit returns in lazy vars * Fix alignment * ① [Currency selection] Remove currency picker (#568) * Remove currency picker * swiftlint * Remove redundant enum case * Remove reference * Remove local var, improve function name * Set label colour * Update snapshots * Fix project file * Correctly size header/footer views * Make the tests pass (#585) * Run snapshot tests on all devices * Remove duplicate extension, use keypath setter * Fix autolayout warnings * ④ [Currency selection] Add change currency api calls (#571) * Remove currency picker * swiftlint * Add SelectCurrencyViewController * Fix tests * Update snapshots * Add tableview header * Added ViewController tests * Removed recordMode line from test * Simplify layout code for header * Add update calls * swiftlint * Add update calls * Add view model tests * Remove stray file ref * Fix tests * swiftlint * Remove redundant enum case * Fix rebase duplication * Remove reference * Remove SettingsCurrencyCell * Fix snapshot tests * Remove CaseIterable conformance on SettingsAccountCellType * Use reuseIdentifier local constant * Update pragma * Update tableview instantiation * Implicit returns in lazy vars * Fix alignment * Add SelectCurrencyViewController * Fix tests * Add tableview header * Update snapshots * Added ViewController tests * Removed recordMode line from test * Simplify layout code for header * Remove SettingsCurrencyCell * Fix snapshot tests * Remove CaseIterable conformance on SettingsAccountCellType * Use reuseIdentifier local constant * Update pragma * Update tableview instantiation * Implicit returns in lazy vars * Fix alignment * ① [Currency selection] Remove currency picker (#568) * Remove currency picker * swiftlint * Remove redundant enum case * Remove reference * Remove local var, improve function name * Set label colour * Update snapshots * Fix project file * Correctly size header/footer views * Make the tests pass (#585) * Fix merge issue * Run snapshot tests on all devices * Remove duplicate extension, use keypath setter * Fix autolayout warnings * Fix merge issue * Add weak self, fix project file * Renamed signal * Refactor view model and tests * Use more inference * swiftlint * Add success banner
📲 What
Should make the tests pass
🤔 Why
We need failing tests .. NAAAAT
🛠 How
Please see inline comments..