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

100% Test Coverage - Buildtime packages #1281

Closed
1 of 20 tasks
roninjin10 opened this issue Jul 6, 2024 · 0 comments
Closed
1 of 20 tasks

100% Test Coverage - Buildtime packages #1281

roninjin10 opened this issue Jul 6, 2024 · 0 comments

Comments

@roninjin10
Copy link
Collaborator

roninjin10 commented Jul 6, 2024

Seperates the buildtime packages which are already relatively stable into their own issue

Relates to #1263

LSP

@tevm/ts-plugin

  • getDefinitionAtPosition.ts | 78.89 | 45.83 | 100 | 78.89 | 34-35,40-42,50-56,58-64,73,82-83,87
  • getScriptSnapshot.ts | 88.88 | 90 | 100 | 88.88 | 32-36
  • solidityModuleResolver.ts | 67.3 | 85.71 | 100 | 67.3 | 34-50

Bundler

@tevm/base-bundler

  • getContractPath.js | 36.66 | 100 | 0 | 36.66 | 12-30
  • readCache.js | 61.76 | 25 | 33.33 | 61.76 | 15,21-22,24-33
  • readCacheSync.js | 61.76 | 25 | 33.33 | 61.76 | 15,21-22,24-33

@Tevm/bun

  • bunFileAccessObject.js | 93.1 | 100 | 66.66 | 93.1 | 21-22
  • bunPluginTevm.js | 88.75 | 92.85 | 100 | 88.75 | 103-111,124-131,157

@tevm/bundler-cache

100% test coverage from downstream packages low priority

❌ 0% coverage

@tevm/cli

Experimental undocumented package

❌ 0% coverage

@tevm/compiler

  • src/utils/resolvePromise.js | 87.50 | 91.89 | 24-26
  • src/compiler/compileContracts.js | 71.43 | 82.80 | 111-113,116-117,121-122,124-132
  • src/compiler/compileContractsSync.js | 60.00 | 84.09 | 105-106,109,113-114,116-124
  • src/resolveArtifacts.js | 0.00 | 5.00 | 7-44
  • src/resolveArtifactsSync.js | 0.00 | 5.13 | 6-42

@tevm/config

  • src/defineConfig.js | 0.00 | 10.20 | 22-28,48-84
  • src/foundry/loadFoundryConfig.js | 50.00 | 86.89 | 20-25,44
  • src/tsconfig/getTevmConfigFromTsConfig.js | 66.67 | 96.00 | 39-40
  • src/tsconfig/loadTsConfig.js | 76.92 | 82.69 | 41,115-131

@tevm/esbuild

✅ 100%

@tevm/resolutions

✅ 100%

@tevm/runtime

  • generateTevmBody.js | 95.45 | 71.42 | 100 | 95.45 | 24-26
  • generateTevmBodyDts.js | 63.15 | 80 | 100 | 63.15 | 24-44

@Tevm/unplugin

@roninjin10 roninjin10 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 8, 2024
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

No branches or pull requests

1 participant