A Jest transformer for fink modules.


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

Documentation

fink/jest

usage

jest.config.js

module.exports = {
  ...

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

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

  ...
};