From 236c16c04777388d8160698919bf180ee9ba29c6 Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Sat, 6 May 2023 19:55:58 +0200 Subject: [PATCH] Remove redundant test fixtures These actually test `mermaid` or `mermaid-isomorphic`. --- test/fixtures/cjk/input.md | 7 ------- test/fixtures/dark/input.md | 9 --------- test/fixtures/dark/options.ts | 7 ------- test/fixtures/flowchart/input.md | 9 --------- test/fixtures/fontawesome/input.md | 13 ------------- test/fixtures/neutral/input.md | 9 --------- test/fixtures/neutral/options.ts | 7 ------- test/fixtures/sequence/input.md | 15 --------------- test/test.ts-snapshots/cjk-node.html | 2 -- test/test.ts-snapshots/cjk-node.md | 3 --- test/test.ts-snapshots/dark-node.html | 2 -- test/test.ts-snapshots/dark-node.md | 3 --- test/test.ts-snapshots/flowchart-node.html | 2 -- test/test.ts-snapshots/flowchart-node.md | 3 --- test/test.ts-snapshots/fontawesome-node.html | 4 ---- test/test.ts-snapshots/fontawesome-node.md | 7 ------- test/test.ts-snapshots/neutral-node.html | 2 -- test/test.ts-snapshots/neutral-node.md | 3 --- test/test.ts-snapshots/sequence-node.html | 2 -- test/test.ts-snapshots/sequence-node.md | 3 --- 20 files changed, 112 deletions(-) delete mode 100644 test/fixtures/cjk/input.md delete mode 100644 test/fixtures/dark/input.md delete mode 100644 test/fixtures/dark/options.ts delete mode 100644 test/fixtures/flowchart/input.md delete mode 100644 test/fixtures/fontawesome/input.md delete mode 100644 test/fixtures/neutral/input.md delete mode 100644 test/fixtures/neutral/options.ts delete mode 100644 test/fixtures/sequence/input.md delete mode 100644 test/test.ts-snapshots/cjk-node.html delete mode 100644 test/test.ts-snapshots/cjk-node.md delete mode 100644 test/test.ts-snapshots/dark-node.html delete mode 100644 test/test.ts-snapshots/dark-node.md delete mode 100644 test/test.ts-snapshots/flowchart-node.html delete mode 100644 test/test.ts-snapshots/flowchart-node.md delete mode 100644 test/test.ts-snapshots/fontawesome-node.html delete mode 100644 test/test.ts-snapshots/fontawesome-node.md delete mode 100644 test/test.ts-snapshots/neutral-node.html delete mode 100644 test/test.ts-snapshots/neutral-node.md delete mode 100644 test/test.ts-snapshots/sequence-node.html delete mode 100644 test/test.ts-snapshots/sequence-node.md diff --git a/test/fixtures/cjk/input.md b/test/fixtures/cjk/input.md deleted file mode 100644 index 3df955a..0000000 --- a/test/fixtures/cjk/input.md +++ /dev/null @@ -1,7 +0,0 @@ -# An example of a CJK (Related Korean) - -```mermaid -flowchart TD - A(아이디어) --> C(로드맵) --> D(요구사항) --> - E(디자인) --> F(구현) --> G(테스트) --> H(배포) --> D -``` diff --git a/test/fixtures/dark/input.md b/test/fixtures/dark/input.md deleted file mode 100644 index 35fe584..0000000 --- a/test/fixtures/dark/input.md +++ /dev/null @@ -1,9 +0,0 @@ -# An example of a flowchart - -```mermaid -graph TD; - A-->B; - A-->C; - B-->D; - C-->D; -``` diff --git a/test/fixtures/dark/options.ts b/test/fixtures/dark/options.ts deleted file mode 100644 index 207faec..0000000 --- a/test/fixtures/dark/options.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { type RemarkMermaidOptions } from 'remark-mermaidjs'; - -export const options: RemarkMermaidOptions = { - mermaidConfig: { - theme: 'dark', - }, -}; diff --git a/test/fixtures/flowchart/input.md b/test/fixtures/flowchart/input.md deleted file mode 100644 index 35fe584..0000000 --- a/test/fixtures/flowchart/input.md +++ /dev/null @@ -1,9 +0,0 @@ -# An example of a flowchart - -```mermaid -graph TD; - A-->B; - A-->C; - B-->D; - C-->D; -``` diff --git a/test/fixtures/fontawesome/input.md b/test/fixtures/fontawesome/input.md deleted file mode 100644 index fccc5ca..0000000 --- a/test/fixtures/fontawesome/input.md +++ /dev/null @@ -1,13 +0,0 @@ -# Basic support for fontawesome - -It is possible to add icons from fontawesome. - -The icons are acessed via the syntax `fa:#icon class name#`. - -```mermaid -graph TD - B["fa:fa-twitter for peace"] - B-->C[fa:fa-ban forbidden] - B-->D(fa:fa-spinner); - B-->E(A fa:fa-camera-retro perhaps?); -``` diff --git a/test/fixtures/neutral/input.md b/test/fixtures/neutral/input.md deleted file mode 100644 index 35fe584..0000000 --- a/test/fixtures/neutral/input.md +++ /dev/null @@ -1,9 +0,0 @@ -# An example of a flowchart - -```mermaid -graph TD; - A-->B; - A-->C; - B-->D; - C-->D; -``` diff --git a/test/fixtures/neutral/options.ts b/test/fixtures/neutral/options.ts deleted file mode 100644 index eb4b02f..0000000 --- a/test/fixtures/neutral/options.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { type RemarkMermaidOptions } from 'remark-mermaidjs'; - -export const options: RemarkMermaidOptions = { - mermaidConfig: { - theme: 'neutral', - }, -}; diff --git a/test/fixtures/sequence/input.md b/test/fixtures/sequence/input.md deleted file mode 100644 index 197abe0..0000000 --- a/test/fixtures/sequence/input.md +++ /dev/null @@ -1,15 +0,0 @@ -# An example of a sequence diagram - -```mermaid -sequenceDiagram - participant Alice - participant Bob - Alice->John: Hello John, how are you? - loop Healthcheck - John->John: Fight against hypochondria - end - Note right of John: Rational thoughts
prevail... - John-->Alice: Great! - John->Bob: How about you? - Bob-->John: Jolly good! -``` diff --git a/test/test.ts-snapshots/cjk-node.html b/test/test.ts-snapshots/cjk-node.html deleted file mode 100644 index 0a90d57..0000000 --- a/test/test.ts-snapshots/cjk-node.html +++ /dev/null @@ -1,2 +0,0 @@ -

An example of a CJK (Related Korean)

-

아이디어
로드맵
요구사항
디자인
구현
테스트
배포

\ No newline at end of file diff --git a/test/test.ts-snapshots/cjk-node.md b/test/test.ts-snapshots/cjk-node.md deleted file mode 100644 index c94c4f3..0000000 --- a/test/test.ts-snapshots/cjk-node.md +++ /dev/null @@ -1,3 +0,0 @@ -# An example of a CJK (Related Korean) - -
아이디어
로드맵
요구사항
디자인
구현
테스트
배포
diff --git a/test/test.ts-snapshots/dark-node.html b/test/test.ts-snapshots/dark-node.html deleted file mode 100644 index 223e71b..0000000 --- a/test/test.ts-snapshots/dark-node.html +++ /dev/null @@ -1,2 +0,0 @@ -

An example of a flowchart

-

A
B
C
D

\ No newline at end of file diff --git a/test/test.ts-snapshots/dark-node.md b/test/test.ts-snapshots/dark-node.md deleted file mode 100644 index b14df4a..0000000 --- a/test/test.ts-snapshots/dark-node.md +++ /dev/null @@ -1,3 +0,0 @@ -# An example of a flowchart - -
A
B
C
D
diff --git a/test/test.ts-snapshots/flowchart-node.html b/test/test.ts-snapshots/flowchart-node.html deleted file mode 100644 index 9315285..0000000 --- a/test/test.ts-snapshots/flowchart-node.html +++ /dev/null @@ -1,2 +0,0 @@ -

An example of a flowchart

-

A
B
C
D

\ No newline at end of file diff --git a/test/test.ts-snapshots/flowchart-node.md b/test/test.ts-snapshots/flowchart-node.md deleted file mode 100644 index dccb79d..0000000 --- a/test/test.ts-snapshots/flowchart-node.md +++ /dev/null @@ -1,3 +0,0 @@ -# An example of a flowchart - -
A
B
C
D
diff --git a/test/test.ts-snapshots/fontawesome-node.html b/test/test.ts-snapshots/fontawesome-node.html deleted file mode 100644 index 8db989d..0000000 --- a/test/test.ts-snapshots/fontawesome-node.html +++ /dev/null @@ -1,4 +0,0 @@ -

Basic support for fontawesome

-

It is possible to add icons from fontawesome.

-

The icons are acessed via the syntax fa:#icon class name#.

-

for peace
forbidden
A perhaps?

\ No newline at end of file diff --git a/test/test.ts-snapshots/fontawesome-node.md b/test/test.ts-snapshots/fontawesome-node.md deleted file mode 100644 index 0967501..0000000 --- a/test/test.ts-snapshots/fontawesome-node.md +++ /dev/null @@ -1,7 +0,0 @@ -# Basic support for fontawesome - -It is possible to add icons from fontawesome. - -The icons are acessed via the syntax `fa:#icon class name#`. - -
for peace
forbidden
A perhaps?
diff --git a/test/test.ts-snapshots/neutral-node.html b/test/test.ts-snapshots/neutral-node.html deleted file mode 100644 index 1b1b18e..0000000 --- a/test/test.ts-snapshots/neutral-node.html +++ /dev/null @@ -1,2 +0,0 @@ -

An example of a flowchart

-

A
B
C
D

\ No newline at end of file diff --git a/test/test.ts-snapshots/neutral-node.md b/test/test.ts-snapshots/neutral-node.md deleted file mode 100644 index 32a9f51..0000000 --- a/test/test.ts-snapshots/neutral-node.md +++ /dev/null @@ -1,3 +0,0 @@ -# An example of a flowchart - -
A
B
C
D
diff --git a/test/test.ts-snapshots/sequence-node.html b/test/test.ts-snapshots/sequence-node.html deleted file mode 100644 index 65cb8a8..0000000 --- a/test/test.ts-snapshots/sequence-node.html +++ /dev/null @@ -1,2 +0,0 @@ -

An example of a sequence diagram

-

AliceBobJohnloop[Healthcheck]Rational thoughts prevail...Hello John, how are you?Fight against hypochondriaGreat!How about you?Jolly good!AliceBobJohn

\ No newline at end of file diff --git a/test/test.ts-snapshots/sequence-node.md b/test/test.ts-snapshots/sequence-node.md deleted file mode 100644 index 5e8ba2e..0000000 --- a/test/test.ts-snapshots/sequence-node.md +++ /dev/null @@ -1,3 +0,0 @@ -# An example of a sequence diagram - -AliceBobJohnloop[Healthcheck]Rational thoughts prevail...Hello John, how are you?Fight against hypochondriaGreat!How about you?Jolly good!AliceBobJohn