mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: Fix unsubscribing from Loki websocket (#19263)
This commit is contained in:
@@ -37,10 +37,9 @@ describe('Live Stream Tests', () => {
|
||||
const labels: Labels = { job: 'varlogs' };
|
||||
const target = makeTarget('fake', labels);
|
||||
const stream = new LiveStreams().getStream(target);
|
||||
expect.assertions(5);
|
||||
expect.assertions(4);
|
||||
|
||||
const tests = [
|
||||
(val: DataFrame[]) => expect(val).toEqual([]),
|
||||
(val: DataFrame[]) => {
|
||||
expect(val[0].length).toEqual(7);
|
||||
expect(val[0].labels).toEqual(labels);
|
||||
|
||||
Reference in New Issue
Block a user