Skip to content
#

stub

Here are 306 public repositories matching this topic...

sinon
dbreese
dbreese commented Jul 14, 2021

Take this class, for example:

`
import Foundation

// some comment has import SOMEBADTHING
public protocol TestProtocol: AnyObject {
func doSomething() -> Void
}
`

The generated mock ends up having:

... import SOMEBADTHING ...

Looks like it is looking for "{import .*}" in source files and just adding that verbatim to the output file, causing compile issues.

Improve this page

Add a description, image, and links to the stub topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the stub topic, visit your repo's landing page and select "manage topics."

Learn more