Dependencies: Jest 27 (#42681)

* Update jest monorepo

* Update version of marked so it doesn't throw an error, set testEnvironment

* Fix some unit tests

* Remove all these tests that aren't actually working...

* use spyOn instead of mocking the whole module

* Fix linting

Co-authored-by: Renovate Bot <bot@renovateapp.com>
This commit is contained in:
Ashley Harrison
2021-12-03 17:09:25 +00:00
committed by GitHub
parent cf9aef9168
commit cc9151d382
18 changed files with 1005 additions and 382 deletions

View File

@@ -130,7 +130,7 @@ describe('Cloudwatch SQLBuilderEditor', () => {
expect(screen.getByText('CPUUtilization')).toBeInTheDocument();
});
describe('ORDER BY', async () => {
describe('ORDER BY', () => {
it('should display it correctly when its specified', async () => {
const query = makeSQLQuery({
orderBy: {