(ignitorOrAppRoot: URL | Ignitor, options?: IgnitorOptions)
| 47 | */ |
| 48 | create(appRoot: URL, options?: IgnitorOptions): TestUtils |
| 49 | create(ignitorOrAppRoot: URL | Ignitor, options?: IgnitorOptions): TestUtils { |
| 50 | if (ignitorOrAppRoot instanceof Ignitor) { |
| 51 | return new TestUtils(ignitorOrAppRoot.createApp('test')) |
| 52 | } |
| 53 | |
| 54 | return new TestUtils( |
| 55 | new IgnitorFactory() |
| 56 | .withCoreConfig() |
| 57 | .withCoreProviders() |
| 58 | .create(ignitorOrAppRoot, options!) |
| 59 | .createApp('console') |
| 60 | ) |
| 61 | } |
| 62 | } |
nothing calls this directly
no test coverage detected