def binary_size_test(build_dir): binary_size_dict = benchmark.get_binary_sizes(build_dir) assert binary_size_dict["deno"] > 0 assert binary_size_dict["main.js"] > 0 assert binary_size_dict["main.js.map"] > 0 assert binary_size_dict["snapshot_deno.bin"] > 0
def test_binary_size(self): binary_size_dict = benchmark.get_binary_sizes(self.build_dir) assert binary_size_dict["deno"] > 0 assert binary_size_dict["CLI_SNAPSHOT.js"] > 0 assert binary_size_dict["CLI_SNAPSHOT.js.map"] > 0 assert binary_size_dict["CLI_SNAPSHOT.bin"] > 0