Skip to content

Commit

Permalink
deploy: bb0997d
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb committed Nov 23, 2024
1 parent d3580ce commit 51fbc68
Show file tree
Hide file tree
Showing 14 changed files with 2,423 additions and 2,946 deletions.
Empty file.
5 changes: 0 additions & 5 deletions dist/fixtures/.hidden_file

This file was deleted.

Empty file.
5 changes: 0 additions & 5 deletions dist/fixtures/.well-known/.hidden_file

This file was deleted.

1 change: 0 additions & 1 deletion dist/fixtures/.well-known/test.html

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion dist/fixtures/.well-known/test/test.html

This file was deleted.

Empty file removed dist/fixtures/test/.gitignore
Empty file.
5,347 changes: 2,418 additions & 2,929 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/abstract-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { check, fail, group } from 'k6'
import * as http from 'k6/http'
import http from 'k6/http'

export const options = {
thresholds: {
Expand Down
2 changes: 1 addition & 1 deletion lib/benchmark.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { check } from 'k6'
import * as http from 'k6/http'
import http from 'k6/http'

export const options = {
stages: [
Expand Down
2 changes: 1 addition & 1 deletion lib/caching.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { options, prepare, test } from './abstract-test.js'
import * as http from 'k6/http'
import http from 'k6/http'

export { options }

Expand Down
2 changes: 1 addition & 1 deletion lib/concatenation.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ export function setup () {
export default function (data) {
assert(data, 'http://server.localhost/', (test) => ({
'is expected status': (r) => isEqual(r, 'Status', r.status, 200),
'is expected body': (r) => isEqual(r, 'body', r.body.trim(), test.responseBody.trim())
'is expected body': (r) => isEqual(r, 'body', r.body?.trim(), test.responseBody?.trim())
}))
}
2 changes: 1 addition & 1 deletion lib/ssl.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as http from 'k6/http'
import http from 'k6/http'
import { options as defaultOptions, prepare, assert } from './abstract-test.js'

export const options = Object.assign(defaultOptions, {
Expand Down

0 comments on commit 51fbc68

Please sign in to comment.