babel-plugin-tester icon indicating copy to clipboard operation
babel-plugin-tester copied to clipboard

Utilities for testing babel plugins

Results 29 babel-plugin-tester issues
Sort by recently updated
recently updated
newest added

Hi, this is more a question than a bug report - I'm pretty sure I'm missing something fairly obvious. I'm trying to write a babel plugin that analyses typescript files,...

Hi. I am diving into a simple test. Despite the content match of both the input and output files, the test results do differ in content due to the presence...

**What**: Added a verbose option that allows seeing the input/output of every transformation. **Why**: Useful during development. **How**: using `console.log`

Hi. I'm trying to write a babel plugin that transforms one decorator into a different one. For instance transform ```js class MyClass { @injectIfEnabled('FEATURE') router } ``` into ```js class...

help wanted
question

- `babel-plugin-tester` version: 9.0.1 - `node` version: 14.3.0 - `npm` (or `yarn`) version: 1.22.4 Relevant code or config ```javascript import pluginTester from 'babel-plugin-tester/pure'; import * as path from 'path'; import...

bug
help wanted

- `babel-plugin-tester` version: ^9.1.0 - `node` version: v12.16.3 - `yarn` version: 1.19.1 folder structure (some files ommited): ``` ROOT |-- package.json |-- src |-- __tests__ | |-- __fixtures__ | |...

### Problem description: `plugin` and `pluginName` are plugin-centric. I would like to test a preset which bundle a couple of plugins. ### Suggested solution: Could you please document how to...

enhancement
help wanted

It would be nice to be able to use this tool for things other than plugins easily. Right now I do stuff like this: ```js import pluginTester from 'babel-plugin-tester'; import...

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.23.7 to 7.24.0. Release notes Sourced from @​babel/core's releases. v7.24.0 (2024-02-28) Thanks @​ajihyf for your first PR! Release post with summary and highlights: https://babeljs.io/7.24.0 :rocket: New Feature...

dependencies
javascript

Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 18.5.0 to 19.0.3. Release notes Sourced from @​commitlint/config-conventional's releases. v19.0.3 19.0.3 (2024-02-28) Bug Fixes fix: mark @types/conventional-commits-parser as dep for @commitlint/types by @​JounQin in conventional-changelog/commitlint#3944 Full Changelog:...

dependencies
javascript