Skip to content

refactor(validate-tsconfig-tests): refactor tsconfig tests#3036

Merged
rwaskiewicz merged 1 commit intorwaskiewicz-rebase-again-sourcemapsfrom
rwaskewicz/sourcemaps/validate-tsconfig
Aug 30, 2021
Merged

refactor(validate-tsconfig-tests): refactor tsconfig tests#3036
rwaskiewicz merged 1 commit intorwaskiewicz-rebase-again-sourcemapsfrom
rwaskewicz/sourcemaps/validate-tsconfig

Conversation

@rwaskiewicz
Copy link
Copy Markdown
Member

this commit refactors & renames
src/compiler/config/test/validate-ts-sourcemap.spec.ts to
src/compiler/config/test/validate-config-sourcemap.spec.ts

this test targets https://github.com/ionic-team/stencil/pull/3005/files#diff-53c120bef3205f89229fbe98a5aadfcb51012ead144729ade2fc597c1e9ad5e9R48

the file was renamed to align with the unit test file
validate-config.spec.ts, found in the same directory. This file was
not merged with validate-config.spec.ts to avoid more refactoring than
necessary.

the refactoring of the test file consists of:

  • renaming the suite & associated tests for clarity
  • removing unnecessary filesystem calls
  • refactoring generating a LoadConfigInit entity out to a helper fn
  • variable renaming

this commit refactors & renames
`src/compiler/config/test/validate-ts-sourcemap.spec.ts` to
`src/compiler/config/test/validate-config-sourcemap.spec.ts`

the file was renamed to align with the unit test file
`validate-config.spec.ts`, found in the same directory. This file was
not merged with `validate-config.spec.ts` to avoid more refactoring than
necessary.

the refactoring of the test file consists of:
- renaming the suite & associated tests for clarity
- removing unnecessary filesystem calls
- refactoring generating a `LoadConfigInit` entity out to a helper fn
- variable renaming
@rwaskiewicz rwaskiewicz requested a review from a team August 30, 2021 12:31
@rwaskiewicz rwaskiewicz merged commit 8bf176c into rwaskiewicz-rebase-again-sourcemaps Aug 30, 2021
@rwaskiewicz rwaskiewicz deleted the rwaskewicz/sourcemaps/validate-tsconfig branch August 30, 2021 13:57
rwaskiewicz added a commit that referenced this pull request Sep 20, 2021
this commit refactors & renames
`src/compiler/config/test/validate-ts-sourcemap.spec.ts` to
`src/compiler/config/test/validate-config-sourcemap.spec.ts`

the file was renamed to align with the unit test file
`validate-config.spec.ts`, found in the same directory. This file was
not merged with `validate-config.spec.ts` to avoid more refactoring than
necessary.

the refactoring of the test file consists of:
- renaming the suite & associated tests for clarity
- removing unnecessary filesystem calls
- refactoring generating a `LoadConfigInit` entity out to a helper fn
- variable renaming
johnjenkins pushed a commit to johnjenkins/stencil that referenced this pull request Oct 7, 2021
…#3036)

this commit refactors & renames
`src/compiler/config/test/validate-ts-sourcemap.spec.ts` to
`src/compiler/config/test/validate-config-sourcemap.spec.ts`

the file was renamed to align with the unit test file
`validate-config.spec.ts`, found in the same directory. This file was
not merged with `validate-config.spec.ts` to avoid more refactoring than
necessary.

the refactoring of the test file consists of:
- renaming the suite & associated tests for clarity
- removing unnecessary filesystem calls
- refactoring generating a `LoadConfigInit` entity out to a helper fn
- variable renaming
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants