Skip to content

A codemod for converting test usages of Ember.onerror stubbing to use @ember/test-helpers' setupOnerror

Notifications You must be signed in to change notification settings

ember-codemods/ember-test-onerror-codemod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ember-test-onerror-codemod

Build Status npm version

A collection of codemod's for ember-test-onerror-codemod.

Usage

To run a specific codemod from this project, you would run the following:

npx ember-test-onerror-codemod <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

# or

yarn global add ember-test-onerror-codemod
ember-test-onerror-codemod <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

Transforms

Contributing

Installation

  • clone the repo
  • change into the repo directory
  • yarn

Running tests

  • yarn test

Update Documentation

  • yarn update-docs

About

A codemod for converting test usages of Ember.onerror stubbing to use @ember/test-helpers' setupOnerror

Resources

Stars

Watchers

Forks

Packages

No packages published