(opts)
| 35 | |
| 36 | class Page { |
| 37 | static async init(opts) { |
| 38 | opts = await Page.read(opts) |
| 39 | if (!opts) return |
| 40 | return new Page(opts) |
| 41 | } |
| 42 | |
| 43 | static async read(opts) { |
| 44 | assert(opts.languageCode, 'languageCode is required') |
no test coverage detected