Skip to content

tests: add report/ to tsconfig #12822

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

Merged
merged 5 commits into from
Aug 3, 2021
Merged

tests: add report/ to tsconfig #12822

merged 5 commits into from
Aug 3, 2021

Conversation

connorjclark
Copy link
Collaborator

@connorjclark connorjclark commented Jul 22, 2021

Forgot to add this folder to the tsconfig during #12690

Tests remain un-(type-)checked.

@connorjclark connorjclark requested a review from a team as a code owner July 22, 2021 23:15
@connorjclark connorjclark requested review from adamraine and removed request for a team July 22, 2021 23:15
@google-cla google-cla bot added the cla: yes label Jul 22, 2021
@@ -1,6 +1,5 @@
**/node_modules/**
**/third_party/**
**/generated/**
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

drive-by removal of generated which was actually cut before going to master

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this was hiding eslint errors in lighthouse-core/lib/cdt/generated/SourceMap.js. Maybe just make this rule specific to that directory?

@@ -13,6 +13,7 @@ import {I18n} from '../renderer/i18n.js';
import {Logger} from '../renderer/logger.js';
import {TextEncoding} from '../renderer/text-encoding.js';

/** @typedef {import('../../lighthouse-treemap/types/treemap')} */
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was pleasantly surprised this worked

EDIT: except it works too well.... this pollutes the window everywhere in lighthouse-core,cli. oops. @brendankenny any ideas, or just ts-expect-error? These files are rather temporary if the report refactor works out...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants