Skip to content
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

test: Readable order for ad test setup #5468

Merged
merged 1 commit into from
Aug 15, 2023

Conversation

joeyparrish
Copy link
Member

For readability, the order of before*/after* functions should be the same as their execution order:

  • beforeAll
  • beforeEach
  • afterEach
  • afterAll

This fixes the order for ad tests.

For readability, the order of before*/after* functions should be the
same as their execution order:
 - beforeAll
 - beforeEach
 - afterEach
 - afterAll

This fixes the order for ad tests.
@github-actions
Copy link
Contributor

github-actions bot commented Aug 7, 2023

Incremental code coverage: No instrumented code was changed.

@avelad avelad added the component: tests The issue involves our automated tests (generally; otherwise use a more specific component) label Aug 15, 2023
@avelad avelad merged commit c42eaa7 into shaka-project:main Aug 15, 2023
@joeyparrish joeyparrish deleted the readable-test-setup branch August 17, 2023 20:53
joeyparrish added a commit that referenced this pull request Aug 19, 2023
For readability, the order of before*/after* functions should be the
same as their execution order:
 - beforeAll
 - beforeEach
 - afterEach
 - afterAll

This fixes the order for ad tests.
joeyparrish added a commit that referenced this pull request Aug 20, 2023
For readability, the order of before*/after* functions should be the
same as their execution order:
 - beforeAll
 - beforeEach
 - afterEach
 - afterAll

This fixes the order for ad tests.
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Oct 14, 2023
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Oct 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: tests The issue involves our automated tests (generally; otherwise use a more specific component) status: archived Archived and locked; will not be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants