Skip to content

Commit ed6262c

Browse files
committed
bundle bin to avoid bs-platform build on postinstall + artifacts issues
1 parent c62989f commit ed6262c

17 files changed

+1889
-141
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ package-lock.json
1212
**/lib/ocaml
1313
**/.merlin
1414
*.bs.js
15+
16+
# webpack build
17+
dist

__tests__/Test.proxy.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

__tests__/Test.re

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,25 @@ let testAll = svg => {
2929
};
3030

3131
describe("simple svg", () =>
32-
readFileSync("./test/simple.svg", `utf8)->testAll
32+
readFileSync("./__tests__/fixtures/simple.svg", `utf8)->testAll
3333
);
3434

3535
describe("edge case width svg", () =>
36-
readFileSync("./test/edge-case-width.svg", `utf8)->testAll
36+
readFileSync("./__tests__/fixtures/edge-case-width.svg", `utf8)->testAll
3737
);
3838

3939
describe("clean & minimal svg", () =>
40-
readFileSync("./test/clean.svg", `utf8)->testAll
40+
readFileSync("./__tests__/fixtures/clean.svg", `utf8)->testAll
4141
);
4242

4343
describe("sketch export", () =>
44-
readFileSync("./test/sketch-export.svg", `utf8)->testAll
44+
readFileSync("./__tests__/fixtures/sketch-export.svg", `utf8)->testAll
4545
);
4646

4747
describe("with fill", () =>
48-
readFileSync("./test/with-fill.svg", `utf8)->testAll
48+
readFileSync("./__tests__/fixtures/with-fill.svg", `utf8)->testAll
4949
);
5050

5151
describe("with stroke", () =>
52-
readFileSync("./test/with-stroke.svg", `utf8)->testAll
52+
readFileSync("./__tests__/fixtures/with-stroke.svg", `utf8)->testAll
5353
);
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)