Skip to content

Update approval controller test import - #339

Merged
Gudahtt merged 3 commits into
developfrom
update-approval-controller-test-import
Feb 11, 2021
Merged

Gudahtt merged 3 commits into
developfrom
update-approval-controller-test-import

Conversation

@Gudahtt

@Gudahtt Gudahtt commented Feb 10, 2021

Copy link
Copy Markdown
Member

The approval controller tests were importing the built version of the approval controller, rather than the original source. This resulted in odd coverage stats, and necessitated ignoring dist/BaseController*.

By updating the import to use the source directly, the coverage stats look fine without ignoring anything.

The approval controller tests were importing the _built_ version of the
approval controller, rather than the original source. This resulted in
odd coverage stats, and necessitated ignoring `dist/BaseController*`.

By updating the import to use the source directly, the coverage stats
look fine without ignoring anything.
@Gudahtt
Gudahtt requested a review from rekmarks February 10, 2021 04:44
@Gudahtt
Gudahtt requested a review from a team as a code owner February 10, 2021 04:44
@Gudahtt
Gudahtt merged commit 8594bc4 into develop Feb 11, 2021
@Gudahtt
Gudahtt deleted the update-approval-controller-test-import branch February 11, 2021 14:59
rickycodes added a commit that referenced this pull request Feb 18, 2021
…ba into feature/migrate-to-etherscan

* 'feature/migrate-to-etherscan' of github.com:MetaMask/gaba:
  Update `sinon` and `@types/sinon` to latest versions (#352)
  Fix `tsconfig.json` indentation (#355)
  Replace `fetch-mock` with `nock` (#340)
  Update `ethereumjs-wallet` from v0.6.5 to v1.0.1 (#347)
  Add `babel-runtime` dependency required by `ethjs-query` (#341)
  Update `@metamask/eslint-config` from v3 to v4.1.0 (#344)
  Add `docs` to list of ignored eslint patterns (#345)
  Update `uuid` from `v3.3.3` to `v8.3.2` (#346)
  Update approval controller test import (#339)
  Add Dependabot config (#343)
  Update `typedoc` (#342)
  Remove unused test module (#338)
  Replace `await-semaphore` with `async-mutex` (#334)
  Update `eth-json-rpc-filters` in lockfile (#336)
Mrtenz pushed a commit that referenced this pull request Oct 16, 2025
* Request validation should not throw if verifyingContract is not defined in typed signature (#328) (#330)

* 14.0.1 (#331)

* [14.x] fix: support ethermint's EIP712 implementation (#333)

* setting cosmos as allowed string for verifyingContract field

* fixed and linter

* readability

* Update condition to match main branch

* Remove duplicate copy of test

---------

Co-authored-by: Jyoti Puri <jyotipuri@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* Version 14.0.2 (#339)

* Version 14.0.2

* Fix typo

Co-authored-by: Michele Esposito <34438276+mikesposito@users.noreply.github.com>

---------

Co-authored-by: Michele Esposito <34438276+mikesposito@users.noreply.github.com>

---------

Co-authored-by: Jyoti Puri <jyotipuri@gmail.com>
Co-authored-by: Michael Tsitrin <114929630+mtsitrin@users.noreply.github.com>
Co-authored-by: Michele Esposito <34438276+mikesposito@users.noreply.github.com>
amitabh94 pushed a commit to amitabh94/core that referenced this pull request Jun 16, 2026
Naz-Ovh pushed a commit to 0x-fork/metamask-core that referenced this pull request Sep 13, 2026
This is the release candidate for version 12.0.0.

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Salah-Eddine Saakoun <salah-eddine.saakoun@consensys.net>
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