{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/ava/issues/330","labels_url":"https://api.github.com/repos/sindresorhus/ava/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/ava/issues/330/comments","events_url":"https://api.github.com/repos/sindresorhus/ava/issues/330/events","html_url":"https://github.com/sindresorhus/ava/pull/330","id":121906078,"number":330,"title":"[WIP] use `empower-core` for better assertion tracking and performance.","user":{"login":"jamestalmage","id":4082216,"avatar_url":"https://avatars.githubusercontent.com/u/4082216?v=3","gravatar_id":"","url":"https://api.github.com/users/jamestalmage","html_url":"https://github.com/jamestalmage","followers_url":"https://api.github.com/users/jamestalmage/followers","following_url":"https://api.github.com/users/jamestalmage/following{/other_user}","gists_url":"https://api.github.com/users/jamestalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestalmage/subscriptions","organizations_url":"https://api.github.com/users/jamestalmage/orgs","repos_url":"https://api.github.com/users/jamestalmage/repos","events_url":"https://api.github.com/users/jamestalmage/events{/privacy}","received_events_url":"https://api.github.com/users/jamestalmage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-13T07:58:11Z","updated_at":"2015-12-13T09:01:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sindresorhus/ava/pulls/330","html_url":"https://github.com/sindresorhus/ava/pull/330","diff_url":"https://github.com/sindresorhus/ava/pull/330.diff","patch_url":"https://github.com/sindresorhus/ava/pull/330.patch"},"body":"This switches us to the ([much](https://github.com/twada/empower-assert/pull/2#issuecomment-159793918)) lighter weight `empower-core`.\r\n\r\n`empower-core` does not render the pretty assertion graphs in the forked processes. So we need to use `empower-formatter`s in the main process to finalize the enhancement. The browserified build of `empower-core` is [90% smaller than empower](https://github.com/twada/empower-assert/pull/2#issuecomment-159793918). However, we won't see much of that benefit until we move Babel transpiling to the main process as well (since the `power-assert` transform has a largely overlapping dependency graph with `empower`).\r\n\r\nThe immediate benefit is that this provides a very easy way to track assertions and methods which will be beneficial to TAP support.\r\n\r\nIt currently relies on the initial changes made in https://github.com/twada/empower-core/pull/2, but it will be trivial to update once that is merged and deployed. Currently it points to a dependency in the `@jamestalmage` namespace so as not to reintroduce a git dependency which seems to give some people problems. "},"comment":{"url":"https://api.github.com/repos/sindresorhus/ava/issues/comments/164240670","html_url":"https://github.com/sindresorhus/ava/pull/330#issuecomment-164240670","issue_url":"https://api.github.com/repos/sindresorhus/ava/issues/330","id":164240670,"user":{"login":"jamestalmage","id":4082216,"avatar_url":"https://avatars.githubusercontent.com/u/4082216?v=3","gravatar_id":"","url":"https://api.github.com/users/jamestalmage","html_url":"https://github.com/jamestalmage","followers_url":"https://api.github.com/users/jamestalmage/followers","following_url":"https://api.github.com/users/jamestalmage/following{/other_user}","gists_url":"https://api.github.com/users/jamestalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestalmage/subscriptions","organizations_url":"https://api.github.com/users/jamestalmage/orgs","repos_url":"https://api.github.com/users/jamestalmage/repos","events_url":"https://api.github.com/users/jamestalmage/events{/privacy}","received_events_url":"https://api.github.com/users/jamestalmage/received_events","type":"User","site_admin":false},"created_at":"2015-12-13T09:01:58Z","updated_at":"2015-12-13T09:01:58Z","body":"@vdemedes - I just updated this to use the `empower-core` API @twada and I agreed on. It is still going to fail on travis because I am using a scoped package. I think you are pretty safe to start exploring how to use this for your TAP integration though."}}