facebookarchive/prepack

Create smoke-test for prepack-node

Open

#693 创建于 2017年6月1日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (520 fork)batch import
help wantedtest needed

仓库指标

Star
 (14,268 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

A recent change to the code resulted in PrepackFile throwing an exception whenever it's invoked (see fix in #691 ), but that was not detected by any of our tests. We should add a basic smoke test for each of the exported functions from prepack-node (prepackStdin, prepackFile, and prepackFileSync) to allow for such clear-cut breaks to be automatically caught by testing.

贡献者指南