-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: dependency wrangling #22829
chore: dependency wrangling #22829
Conversation
@@ -60,7 +58,6 @@ module.exports = { | |||
'react/jsx-curly-brace-presence': ['error', { props: 'never', children: 'never', propElementValues: 'always' }], | |||
'no-console': ['error', { allow: ['warn', 'error'] }], | |||
'no-debugger': 'error', | |||
'no-only-tests/no-only-tests': 'error', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
built in to the jest plugin if you're actually using it
@@ -46,39 +46,6 @@ describe('dataNodeLogic - query cancellation', () => { | |||
}) | |||
afterEach(() => logic?.unmount()) | |||
|
|||
it.skip('cancels a running query', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's been skipped for a year, we don't need it
@@ -166,13 +166,6 @@ describe('funnelDataLogic', () => { | |||
|
|||
describe('based on insightDataLogic', () => { | |||
describe('results', () => { | |||
it.skip('with non-funnel insight', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's been skipped for a year, we don't need it
@@ -245,29 +245,6 @@ describe('insightNavLogic', () => { | |||
}) | |||
}) | |||
|
|||
// it('stores series from retention entities', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's been skipped for a year, we don't need it
@@ -304,7 +302,7 @@ describe('insightLogic', () => { | |||
}) | |||
}) | |||
|
|||
describe.skip('as dashboard item', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's been skipped for a year, only keep the tests that currently pass when unskipped
@@ -42,8 +42,7 @@ describe('insightSceneLogic', () => { | |||
}) | |||
}) | |||
|
|||
// for some reason this test fails, while the tested behaviour is correct | |||
it.skip('redirects when opening /insight/new with filters', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it doesn't fail for me 🤷
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's been skipped for a year, we don't need it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's been skipped for a year, we don't need it
@@ -378,47 +377,6 @@ describe('sessionRecordingDataLogic', () => { | |||
'loadSnapshotsForSourceSuccess', | |||
]) | |||
}) | |||
|
|||
// regularly times out in CI, let's skip for now since we know this works 🙈 | |||
it.skip('polls up to a max threshold', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete not skip!
"esbuild-visualizer": "^0.6.0", | ||
"eslint": "^8.52.0", | ||
"eslint": "^8.57.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not every dependency we use yet supports eslint 9, so don't go there
📸 UI snapshots have been updated3 snapshot changes in total. 0 added, 3 modified, 0 deleted:
Triggered by this commit. |
Size Change: 0 B Total Size: 1.06 MB ℹ️ View Unchanged
|
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated5 snapshot changes in total. 0 added, 5 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated4 snapshot changes in total. 0 added, 4 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated3 snapshot changes in total. 0 added, 3 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
1. I got fed up of seeing these warning
so I obeyed them
2. turns out we have an eslint plugin for our jest tests but it wasn't actually running anything
so let's make it run