fix(fluxFunctions): fix typo in assert methods, group under tests (#17694)
* fix(fluxFunctions): fix typo in assert methods, group under tests * chore(changelog): add 17694 to changlogpull/17695/head
parent
3627954139
commit
336644a858
|
@ -1,4 +1,4 @@
|
|||
## unreleased
|
||||
## v2.0.0-beta.8 [unreleased]
|
||||
|
||||
### Features
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
|||
1. [17660](https://github.com/influxdata/influxdb/pull/17660): Fix text wrapping display issue and popover sizing bug when adding labels to a resource
|
||||
1. [17670](https://github.com/influxdata/influxdb/pull/17670): Respect the now-time of the compiled query if it's provided
|
||||
1. [17692](https://github.com/influxdata/influxdb/pull/17692): Update giraffe to fix spacing between ticks
|
||||
1. [17694](https://github.com/influxdata/influxdb/pull/17694): Fixed typos in the Flux functions list
|
||||
|
||||
### UI Improvements
|
||||
|
||||
|
|
|
@ -381,7 +381,7 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
|
|||
package: '',
|
||||
desc: 'Tests whether a value is a member of a set.',
|
||||
example: 'contains(value: 1, set: [1,2,3])',
|
||||
category: 'Test',
|
||||
category: 'Tests',
|
||||
link:
|
||||
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/built-in/tests/contains/',
|
||||
},
|
||||
|
@ -4911,7 +4911,7 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
|
|||
package: 'testing',
|
||||
desc: 'Tests if an input stream is empty.',
|
||||
example: 'testing.assertEmpty()',
|
||||
category: 'Test',
|
||||
category: 'Tests',
|
||||
link:
|
||||
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/testing/assertempty/',
|
||||
},
|
||||
|
@ -4926,18 +4926,18 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
|
|||
{
|
||||
name: 'got',
|
||||
desc: 'The stream containing data to test.',
|
||||
type: 'Obscflect',
|
||||
type: 'Stream of tables',
|
||||
},
|
||||
{
|
||||
name: 'want',
|
||||
desc: 'The stream that contains the expected data to test against.',
|
||||
type: 'Object',
|
||||
type: 'Stream of tables',
|
||||
},
|
||||
],
|
||||
package: 'testing',
|
||||
desc: 'Tests whether two streams have identical data.',
|
||||
example: 'testing.assertEquals(got: got, want: want)',
|
||||
category: 'Test',
|
||||
category: 'Tests',
|
||||
link:
|
||||
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/testing/assertequals/',
|
||||
},
|
||||
|
@ -4947,18 +4947,18 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
|
|||
{
|
||||
name: 'got',
|
||||
desc: 'The stream containing data to test.',
|
||||
type: 'Obscflect',
|
||||
type: 'Stream of tables',
|
||||
},
|
||||
{
|
||||
name: 'want',
|
||||
desc: 'The stream that contains the expected data to test against.',
|
||||
type: 'Object',
|
||||
type: 'Stream of tables',
|
||||
},
|
||||
],
|
||||
package: 'testing',
|
||||
desc: 'Produces a diff between two streams.',
|
||||
example: 'testing.assertEquals(got: got, want: want)',
|
||||
category: 'Test',
|
||||
category: 'Tests',
|
||||
link:
|
||||
'https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/testing/diff/',
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue