A Jest transformer for fink modules.


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

Documentation

fink/jest

usage

jest.config.js

module.exports = {
  ...

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

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

  ...
};