{"library":"babel-plugin-ava-throws-helper","type":"library","category":null,"description":"A Babel plugin that provides compile-time protection against improper use of `t.throws()` in the AVA test framework. It transforms code to detect when a value rather than a function is passed, issuing clear error messages. This plugin is internal to AVA and not intended for direct use; version 1.0.0 is the current stable release, with no recent updates. It differs from eslint-plugin-ava by offering a more robust, AST-based solution for a common mistake where users write `t.throws(foo())` instead of `t.throws(() => foo())`.","language":"javascript","status":"maintenance","version":"1.0.0","tags":["javascript","babel-plugin","babel","helper","ava","assertion","throws"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-ava-throws-helper","imports":["import plugin from 'babel-plugin-ava-throws-helper'","// .babelrc\n{\n  \"plugins\": [\"babel-plugin-ava-throws-helper\"]\n}"]},{"cmd":"yarn add babel-plugin-ava-throws-helper","imports":[]},{"cmd":"pnpm add babel-plugin-ava-throws-helper","imports":[]}],"homepage":null,"github":"https://github.com/avajs/babel-plugin-ava-throws-helper","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-ava-throws-helper","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-ava-throws-helper/compatibility"}}