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

refactor/es6 module test #1405

Merged
merged 2 commits into from
Dec 9, 2024
Merged

Conversation

tkgroot
Copy link
Contributor

@tkgroot tkgroot commented Dec 9, 2024

Issue #, if available:

Description of changes:

  • removing of unused function properties within es6Module.test.js
  • fix allTokens reference since current function returns an empty Array instead of allTokens
    • possible open for debate if fixing this is better than removing all occurrences of allTokens: convertTokenData(DTCGTokens, { output: 'array' }) since it is not used by the formatter javascript/esm, thus the value of allTokens does not matter and tests do not fail.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@tkgroot tkgroot requested a review from a team as a code owner December 9, 2024 15:08
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-1405.d16eby4ekpss5y.amplifyapp.com

jorenbroekema
jorenbroekema previously approved these changes Dec 9, 2024
dbanksdesign
dbanksdesign previously approved these changes Dec 9, 2024
allTokens was an empty array. however it is not used by the format
function 'javascript/esm' therefore it could also be safely removed

Signed-off-by: Tobias Kuppens Groot <[email protected]>
@jorenbroekema jorenbroekema dismissed stale reviews from dbanksdesign and themself via 0249bc9 December 9, 2024 17:54
@jorenbroekema jorenbroekema force-pushed the refactor/es6-module-test branch from 12dc4ee to 0249bc9 Compare December 9, 2024 17:54
@jorenbroekema jorenbroekema merged commit e03f5f2 into amzn:main Dec 9, 2024
5 of 6 checks passed
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.

3 participants