mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: fix ng-schematics docs (#11497)
This commit is contained in:
parent
d2f4b9ca53
commit
030598110f
@ -10,11 +10,7 @@ export const docsNgSchematicsTask = task({
|
|||||||
name: 'docs:ng-schematics',
|
name: 'docs:ng-schematics',
|
||||||
run: async () => {
|
run: async () => {
|
||||||
const readme = await readFile('packages/ng-schematics/README.md', 'utf-8');
|
const readme = await readFile('packages/ng-schematics/README.md', 'utf-8');
|
||||||
const index = await readFile('docs/integrations/ng-schematics.md', 'utf-8');
|
await writeFile('docs/integrations/ng-schematics.md', readme);
|
||||||
await writeFile(
|
|
||||||
'docs/integrations/ng-schematics.md',
|
|
||||||
index.replace('# API Reference\n', readme)
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -31,9 +31,9 @@ ng e2e
|
|||||||
|
|
||||||
When adding schematics to your project you can to provide following options:
|
When adding schematics to your project you can to provide following options:
|
||||||
|
|
||||||
| Option | Description | Value | Required |
|
| Option | Description | Value | Required |
|
||||||
| -------------- | ------------------------------------------------------ | ------------------------------------------ | -------- |
|
| --------------- | ------------------------------------------------------ | ------------------------------------------ | -------- |
|
||||||
| `--testRunner` | The testing framework to install along side Puppeteer. | `"jasmine"`, `"jest"`, `"mocha"`, `"node"` | `true` |
|
| `--test-runner` | The testing framework to install along side Puppeteer. | `"jasmine"`, `"jest"`, `"mocha"`, `"node"` | `true` |
|
||||||
|
|
||||||
## Creating a single test file
|
## Creating a single test file
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user