feat: Begins snapshot testing for html
This commit is contained in:
@@ -43,29 +43,6 @@ public extension Vendor {
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
//
|
||||
// public extension Vendor {
|
||||
//
|
||||
// static func generateMocks(count: Int = 20) -> [Self] {
|
||||
// @Dependency(\.date.now) var now
|
||||
// @Dependency(\.uuid) var uuid
|
||||
//
|
||||
// var output = [Self]()
|
||||
//
|
||||
// for _ in 0 ... count {
|
||||
// output.append(.init(
|
||||
// id: uuid(),
|
||||
// name: RandomNames.companyNames.randomElement()!,
|
||||
// branches: nil,
|
||||
// createdAt: now,
|
||||
// updatedAt: now
|
||||
// ))
|
||||
// }
|
||||
//
|
||||
// return output
|
||||
// }
|
||||
// }
|
||||
|
||||
public extension Vendor.Create {
|
||||
static func generateMocks(count: Int = 5) -> [Self] {
|
||||
(0 ... count).reduce(into: [Self]()) { array, _ in
|
||||
|
||||
Reference in New Issue
Block a user