Skip to content

Commit

Permalink
Merge pull request #139 from grafana/release-new-version-k6chaijs
Browse files Browse the repository at this point in the history
  • Loading branch information
Blinkuu authored Sep 6, 2024
2 parents c5f6737 + 32c36c2 commit c1a5830
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ <h2>Available libs</h2>
<td><a href="https://k6.io/docs/javascript-api/jslib/expect">https://k6.io/docs/javascript-api/jslib/expect</a></td>
</tr><tr>
<td>k6chaijs</td>
<td><a target="_blank" href="https://jslib.k6.io/k6chaijs/4.3.4.0/index.js">4.3.4.0</a>, <a target="_blank" href="https://jslib.k6.io/k6chaijs/4.3.4.1/index.js">4.3.4.1</a>, <a target="_blank" href="https://jslib.k6.io/k6chaijs/4.3.4.2/index.js">4.3.4.2</a>, <a target="_blank" href="https://jslib.k6.io/k6chaijs/4.3.4.3/index.js">4.3.4.3</a>, <a target="_blank" href="https://jslib.k6.io/k6chaijs/4.5.0.0/index.js">4.5.0.0</a></td>
<td><a target="_blank" href="https://jslib.k6.io/k6chaijs/4.3.4.0/index.js">4.3.4.0</a>, <a target="_blank" href="https://jslib.k6.io/k6chaijs/4.3.4.1/index.js">4.3.4.1</a>, <a target="_blank" href="https://jslib.k6.io/k6chaijs/4.3.4.2/index.js">4.3.4.2</a>, <a target="_blank" href="https://jslib.k6.io/k6chaijs/4.3.4.3/index.js">4.3.4.3</a>, <a target="_blank" href="https://jslib.k6.io/k6chaijs/4.5.0.0/index.js">4.5.0.0</a>, <a target="_blank" href="https://jslib.k6.io/k6chaijs/4.5.0.1/index.js">4.5.0.1</a></td>
<td><a href="https://github.com/grafana/k6-jslib-k6chaijs">https://github.com/grafana/k6-jslib-k6chaijs</a></td>
</tr><tr>
<td>k6chaijs-contracts</td>
Expand Down
4 changes: 4 additions & 0 deletions lib/k6chaijs/4.5.0.1/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion supported.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"docs-url": "https://k6.io/docs/javascript-api/jslib/expect"
},
"k6chaijs": {
"versions": ["4.3.4.0", "4.3.4.1", "4.3.4.2", "4.3.4.3", "4.5.0.0"],
"versions": ["4.3.4.0", "4.3.4.1", "4.3.4.2", "4.3.4.3", "4.5.0.0", "4.5.0.1"],
"docs-url": "https://github.com/grafana/k6-jslib-k6chaijs"
},
"k6chaijs-contracts": {
Expand Down
10 changes: 10 additions & 0 deletions tests/k6chai.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { expect as expect4340, describe as describe4340 } from '../lib/k6chaijs/
import { expect as expect4341, describe as describe4341 } from '../lib/k6chaijs/4.3.4.1/index.js'
import { expect as expect4342, describe as describe4342 } from '../lib/k6chaijs/4.3.4.2/index.js'
import { expect as expect4343, describe as describe4343 } from '../lib/k6chaijs/4.3.4.3/index.js'
import { expect as expect4500, describe as describe4500 } from '../lib/k6chaijs/4.5.0.0/index.js'
import { expect as expect4501, describe as describe4501 } from '../lib/k6chaijs/4.5.0.1/index.js'

export default function testk6chaijs() {
const expected = 'k6chaijs'
Expand All @@ -22,4 +24,12 @@ export default function testk6chaijs() {
describe4343('k6chaijs v4.3.4.3 test', () => {
expect4343(expected, alias).to.equal(expected)
})

describe4500('k6chaijs v4.5.0.0 test', () => {
expect4500(expected, alias).to.equal(expected)
})

describe4501('k6chaijs v4.5.0.1 test', () => {
expect4501(expected, alias).to.equal(expected)
})
}

0 comments on commit c1a5830

Please sign in to comment.