-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[VTAdmin] Update react-scripts, postcss #9493
Changes from all commits
376bb1f
eba2e36
83f0438
a53e44a
aa87de1
1a5380c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* eslint-disable jest/no-conditional-expect */ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead of updating the test, I decided to use eslint-disable here. |
||
/** | ||
* Copyright 2021 The Vitess Authors. | ||
* | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,7 +86,7 @@ describe('Tablets', () => { | |
test.each(tests.map(Object.values))( | ||
'%s', | ||
(name: string, filter: string, tablets: pb.Tablet[], expected: { [k: string]: unknown }[]) => { | ||
const result = formatRows(tablets, filter); | ||
const result = formatRows(tablets, [], filter); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This fixes a type issue - formatRows expects 3 params. |
||
expect(result).toMatchObject(expected); | ||
} | ||
); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* eslint-disable jest/no-conditional-expect */ | ||
/** | ||
* Copyright 2021 The Vitess Authors. | ||
* | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* eslint-disable jest/no-conditional-expect */ | ||
/** | ||
* Copyright 2021 The Vitess Authors. | ||
* | ||
|
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.
These have to be installed manually for postcss ^8 I think.