feat: Moves vendor branch views to their own files, starts to implement snapshot testing for html
This commit is contained in:
@@ -117,11 +117,13 @@ enum IDKey: CustomStringConvertible {
|
||||
}
|
||||
|
||||
enum Branch: CustomStringConvertible {
|
||||
case list
|
||||
case form
|
||||
case row(id: VendorBranch.ID)
|
||||
|
||||
var description: String {
|
||||
switch self {
|
||||
case .list: return "list"
|
||||
case .form: return "form"
|
||||
case let .row(id): return id.uuidString
|
||||
}
|
||||
@@ -148,7 +150,7 @@ enum IDKey: CustomStringConvertible {
|
||||
|
||||
var description: String {
|
||||
switch self {
|
||||
case let .content: return "content"
|
||||
case .content: return "content"
|
||||
case let .row(id): return "\(id)"
|
||||
case .search: return "search"
|
||||
case .table: return "table"
|
||||
|
||||
Reference in New Issue
Block a user