Skip to content

jon-stevens/handlebars-jest-transformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

handlebars-jest-transformer

Handlebars transformer for Jest. Import handlebars files in your tests!

To enable the processor add the rule to the transform object in your jest configuration:

    // ...
    transform: {
        "\\.hbs$": "<rootdir>/handlebars-jest-transformer.js",
    }
    // ...
}```

Handlebars files will get compiled by the processor and the render function imported.


About

Handlebars transformer for Jest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published