Code coverage report for 6to5/transformation/transformers/_module-formatter.js

Statements: 100% (6 / 6)      Branches: 100% (4 / 4)      Functions: 100% (1 / 1)      Lines: 100% (5 / 5)      Ignored: none     

All files » 6to5/transformation/transformers/ » _module-formatter.js
1 2 3 4 5 6 7 8 9 10 11 121   1   337   336 38        
var transform = require("../transform");
 
exports.ast = {
  exit: function (ast, file) {
    if (!transform.transformers.modules.canRun(file)) return;
 
    if (file.moduleFormatter.transform) {
      file.moduleFormatter.transform(ast);
    }
  }
};