A Jest transformer for fink modules.


Keywords
jest, snapshot-testing, fink, fink-lang
License
MIT
Install
npm install @fink/jest@7.3.0

Documentation

fink/jest

usage

jest.config.js

module.exports = {
  ...

  // add fnk files
  moduleFileExtensions: ['js', 'fnk'],

  transform: {
    ...
    '^.+\\.fnk$': ['@fink/jest']
  },

  ...
};