Skip to content

Commit

Permalink
chore: apply cr
Browse files Browse the repository at this point in the history
  • Loading branch information
3v0k4 committed Dec 30, 2024
1 parent 25366bb commit 4414d1a
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 49 deletions.
4 changes: 2 additions & 2 deletions docusaurus/docs/cypress/guide/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -417,10 +417,10 @@ jobs:
# highlight-end
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
Expand Down
18 changes: 8 additions & 10 deletions docusaurus/docs/cypress/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,10 @@ Available: anything that [node-glob](https://github.com/isaacs/node-glob#glob-pr
Hint: you can debug in `node`

```js
var glob = require("glob");
var MY_GLOB = "cypress/e2e/admin/**/*.{js,jsx}";
glob(MY_GLOB, {}, function (err, files) {
console.log(files);
});
const { globSync } = require("glob");
const MY_GLOB = "cypress/e2e/admin/**/*.{js,jsx}";
const files = globSync(MY_GLOB);
console.log(files);
```

Examples:
Expand Down Expand Up @@ -199,11 +198,10 @@ Available: anything that [node-glob](https://github.com/isaacs/node-glob#glob-pr
Hint: you can debug in `node`

```js
var glob = require("glob");
var MY_GLOB = "cypress/e2e/**/*.{js,jsx,coffee,cjsx}";
glob(MY_GLOB, {}, function (err, files) {
console.log(files);
});
const { globSync } = require("glob");
const MY_GLOB = "cypress/e2e/**/*.{js,jsx,coffee,cjsx}";
const files = globSync(MY_GLOB);
console.log(files);
```

Examples:
Expand Down
4 changes: 0 additions & 4 deletions docusaurus/docs/cypress/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ You can increase the memory available to Node with [`--max_old_space_size`](http
```bash
export NODE_OPTIONS=--max_old_space_size=4096

npx knapsack-pro-jest

npx knapsack-pro-cypress

npx knapsack-pro-vitest
```

## Debug Knapsack Pro on your development environment/machine
Expand Down
4 changes: 2 additions & 2 deletions docusaurus/docs/jest/guide/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -414,10 +414,10 @@ jobs:
# highlight-end
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
Expand Down
18 changes: 8 additions & 10 deletions docusaurus/docs/jest/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,10 @@ Available: anything that [node-glob](https://github.com/isaacs/node-glob#glob-pr
Hint: you can debug in `node`

```js
var glob = require("glob");
var MY_GLOB = "{**/__tests__/**/*.js?(x),**/?(*.)(spec|test).js?(x)}";
glob(MY_GLOB, {}, function (err, files) {
console.log(files);
});
const { globSync } = require("glob");
const MY_GLOB = "{**/__tests__/**/*.js?(x),**/?(*.)(spec|test).js?(x)}";
const files = globSync(MY_GLOB);
console.log(files);
```

Examples:
Expand Down Expand Up @@ -207,11 +206,10 @@ Available: anything that [node-glob](https://github.com/isaacs/node-glob#glob-pr
Hint: you can debug in `node`

```js
var glob = require("glob");
var MY_GLOB = "{**/__tests__/**/*.js?(x),**/?(*.)(spec|test).js?(x)}";
glob(MY_GLOB, {}, function (err, files) {
console.log(files);
});
const { globSync } = require("glob");
const MY_GLOB = "{**/__tests__/**/*.js?(x),**/?(*.)(spec|test).js?(x)}";
const files = globSync(MY_GLOB);
console.log(files);
```

Examples:
Expand Down
4 changes: 0 additions & 4 deletions docusaurus/docs/jest/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ You can increase the memory available to Node with [`--max_old_space_size`](http
export NODE_OPTIONS=--max_old_space_size=4096

npx knapsack-pro-jest

npx knapsack-pro-cypress

npx knapsack-pro-vitest
```

## Debug Knapsack Pro on your development environment/machine
Expand Down
2 changes: 1 addition & 1 deletion docusaurus/docs/knapsack_pro-ruby/guide/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ jobs:
TZ: "Europe/Warsaw"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
Expand Down
4 changes: 2 additions & 2 deletions docusaurus/docs/vitest/guide/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -408,10 +408,10 @@ jobs:
# highlight-end
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
Expand Down
18 changes: 8 additions & 10 deletions docusaurus/docs/vitest/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,10 @@ Available: anything that [node-glob](https://github.com/isaacs/node-glob#glob-pr
Hint: you can debug in `node`

```js
var glob = require("glob");
var MY_GLOB = "{**/__tests__/**/*.js?(x),**/?(*.)(spec|test).js?(x)}";
glob(MY_GLOB, {}, function (err, files) {
console.log(files);
});
const { globSync } = require("glob");
const MY_GLOB = "**/*.{test,spec}.?(c|m)[jt]s?(x)";
const files = globSync(MY_GLOB);
console.log(files);
```

Examples:
Expand Down Expand Up @@ -191,11 +190,10 @@ Available: anything that [node-glob](https://github.com/isaacs/node-glob#glob-pr
Hint: you can debug in `node`

```js
var glob = require("glob");
var MY_GLOB = "**/*.{test,spec}.?(c|m)[jt]s?(x)";
glob(MY_GLOB, {}, function (err, files) {
console.log(files);
});
const { globSync } = require("glob");
const MY_GLOB = "**/*.{test,spec}.?(c|m)[jt]s?(x)";
const files = globSync(MY_GLOB);
console.log(files);
```

Examples:
Expand Down
4 changes: 0 additions & 4 deletions docusaurus/docs/vitest/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ You can increase the memory available to Node with [`--max_old_space_size`](http
```bash
export NODE_OPTIONS=--max_old_space_size=4096

npx knapsack-pro-jest

npx knapsack-pro-cypress

npx knapsack-pro-vitest
```

Expand Down

0 comments on commit 4414d1a

Please sign in to comment.