(plugin: Plugin)
| 78 | } |
| 79 | |
| 80 | const buildWithPlugin = async (plugin: Plugin) => { |
| 81 | await build({ |
| 82 | root: path.resolve(import.meta.dirname, '../packages/build-project'), |
| 83 | logLevel: 'error', |
| 84 | build: { |
| 85 | write: false, |
| 86 | }, |
| 87 | plugins: [plugin, resolveEntryPlugin], |
| 88 | }) |
| 89 | } |
| 90 | |
| 91 | describe('supports plugin context', () => { |
| 92 | test('config hook', async () => { |
no test coverage detected