Skip to content

Commit 880da06

Browse files
committed
Updating k6chaijs documentation to reflect latest version
Signed-off-by: Paul Balogh <[email protected]>
1 parent af24ea1 commit 880da06

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

src/data/markdown/docs/05 Examples/01 Examples/19 functional testing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ excerpt: |
1313

1414
```javascript
1515
import http from 'k6/http';
16-
import { describe, expect } from 'https://jslib.k6.io/k6chaijs/4.3.4.2/index.js';
16+
import { describe, expect } from 'https://jslib.k6.io/k6chaijs/4.3.4.3/index.js';
1717

1818
export const options = {
1919
thresholds: {
@@ -44,7 +44,7 @@ This test goes through several steps. It creates a new user account, authenticat
4444
<!-- eslint-skip -->
4545

4646
```javascript
47-
import chai, { describe, expect } from 'https://jslib.k6.io/k6chaijs/4.3.4.2/index.js';
47+
import chai, { describe, expect } from 'https://jslib.k6.io/k6chaijs/4.3.4.3/index.js';
4848
import { Httpx, Get } from 'https://jslib.k6.io/httpx/0.0.6/index.js';
4949
import { randomString } from 'https://jslib.k6.io/k6-utils/1.0.0/index.js';
5050

@@ -180,7 +180,7 @@ Here's an auto-generated k6 test script showcasing all examples from the [Chaijs
180180
<!-- eslint-skip -->
181181

182182
```javascript
183-
import { describe, expect, chai } from 'https://jslib.k6.io/k6chaijs/4.3.4.2/index.js';
183+
import { describe, expect, chai } from 'https://jslib.k6.io/k6chaijs/4.3.4.3/index.js';
184184

185185
chai.config.aggregateChecks = false;
186186
chai.config.logFailures = true;

src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ There's nothing to install. This library is hosted on [jslib](https://jslib.k6.i
2121
<CodeGroup labels={[]}>
2222

2323
```javascript
24-
import { describe, expect } from 'https://jslib.k6.io/k6chaijs/4.3.4.2/index.js';
24+
import { describe, expect } from 'https://jslib.k6.io/k6chaijs/4.3.4.3/index.js';
2525
```
2626

2727
</CodeGroup>
@@ -36,7 +36,7 @@ The following example tests a hypothetical HTTP API that returns a JSON array of
3636

3737
```javascript
3838
import http from 'k6/http';
39-
import { describe, expect } from 'https://jslib.k6.io/k6chaijs/4.3.4.2/index.js';
39+
import { describe, expect } from 'https://jslib.k6.io/k6chaijs/4.3.4.3/index.js';
4040

4141
export default function testSuite() {
4242
describe('Fetch a list of public crocodiles', () => {

src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/31 config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Chai exposes a few options to change the library configuration.
1818

1919
```javascript
2020
import http from 'k6/http';
21-
import chai, { describe, expect } from 'https://jslib.k6.io/k6chaijs/4.3.4.2/index.js';
21+
import chai, { describe, expect } from 'https://jslib.k6.io/k6chaijs/4.3.4.3/index.js';
2222

2323
// individual variables should be up to 20 chars after rendering.
2424
chai.config.truncateVariableThreshold = 20;

src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/33 describe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ excerpt: 'Entry point for creating test cases.'
1111
<CodeGroup labels={['describe-example.js']}>
1212

1313
```javascript
14-
import { describe, expect } from 'https://jslib.k6.io/k6chaijs/4.3.4.2/index.js';
14+
import { describe, expect } from 'https://jslib.k6.io/k6chaijs/4.3.4.3/index.js';
1515

1616
export default function testSuite() {
1717
const success1 = describe('Basic test', () => {
@@ -74,7 +74,7 @@ If you want to skip the execution of the following `describe` blocks, consider c
7474
<!-- eslint-skip -->
7575

7676
```javascript
77-
import { describe, expect } from 'https://jslib.k6.io/k6chaijs/4.3.4.2/index.js';
77+
import { describe, expect } from 'https://jslib.k6.io/k6chaijs/4.3.4.3/index.js';
7878

7979
export default function testSuite() {
8080
describe('Basic test', () => {

src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/34 expect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ excerpt: 'BDD style to construct k6 assertions.'
6262
<!-- eslint-skip -->
6363
```javascript
6464
import http from "k6/http";
65-
import { describe, expect } from "https://jslib.k6.io/k6chaijs/4.3.4.2/index.js";
65+
import { describe, expect } from "https://jslib.k6.io/k6chaijs/4.3.4.3/index.js";
6666

6767
export default function () {
6868
describe('Basic test', () => {

src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/35 error handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Sometimes it's hard to predict how a SUT might fail. For those cases, [describe
6161
<CodeGroup labels={['Showcasing how describe works']}>
6262

6363
```javascript
64-
import { describe, expect } from 'https://jslib.k6.io/k6chaijs/4.3.4.2/index.js';
64+
import { describe, expect } from 'https://jslib.k6.io/k6chaijs/4.3.4.3/index.js';
6565

6666
export default function testSuite() {
6767
describe('Test case against a Shaky SUT', (t) => {

0 commit comments

Comments
 (0)