Skip to content

Commit 19e60f0

Browse files
committed
fixed tests
looks like somewhere in the bowels dead-code elimination was tuned also restored build-status badge; looks like that was accidentally removed in 51723c1
1 parent 51723c1 commit 19e60f0

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ faucet-pipeline-js
22
==================
33

44
[![package version](https://img.shields.io/npm/v/faucet-pipeline-js.svg?style=flat)](https://www.npmjs.com/package/faucet-pipeline-js)
5+
[![build status](https://github.com/faucet-pipeline/faucet-pipeline-js/workflows/tests/badge.svg)](https://github.com/faucet-pipeline/faucet-pipeline-js/actions)
56

67
[faucet-pipeline](http://faucet-pipeline.org) plugin for bundling JavaScript
78
modules, along with extensions for ESNext, JSX and TypeScript

test/cli/test_jsx/expected.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ var MyComponent = function MyComponent() {
1414
var el = createElement(MyComponent, {
1515
type: "dummy"
1616
}, createElement("my-element", null, "lorem ipsum", createElement(Fragment, null, createElement("mark", null, "666"), "dolor sit amet")));
17+
console.log(el);
1718

1819
}());

test/cli/test_jsx/src/index.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ let el = <MyComponent type="dummy">
88
dolor sit amet
99
</>
1010
</my-element>
11-
</MyComponent>
11+
</MyComponent>;
12+
console.log(el);

0 commit comments

Comments
 (0)