chore: fix ng-schematics docs (#11497)

This commit is contained in:
Nikolay Vitkov 2023-12-05 13:57:09 +01:00 committed by GitHub
parent d2f4b9ca53
commit 030598110f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 8 deletions

View File

@ -10,11 +10,7 @@ export const docsNgSchematicsTask = task({
name: 'docs:ng-schematics',
run: async () => {
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',
index.replace('# API Reference\n', readme)
);
await writeFile('docs/integrations/ng-schematics.md', readme);
},
});

View File

@ -31,9 +31,9 @@ ng e2e
When adding schematics to your project you can to provide following options:
| Option | Description | Value | Required |
| -------------- | ------------------------------------------------------ | ------------------------------------------ | -------- |
| `--testRunner` | The testing framework to install along side Puppeteer. | `"jasmine"`, `"jest"`, `"mocha"`, `"node"` | `true` |
| Option | Description | Value | Required |
| --------------- | ------------------------------------------------------ | ------------------------------------------ | -------- |
| `--test-runner` | The testing framework to install along side Puppeteer. | `"jasmine"`, `"jest"`, `"mocha"`, `"node"` | `true` |
## Creating a single test file