diff --git a/.remarkignore b/.remarkignore index c3ddca5..67fc140 100644 --- a/.remarkignore +++ b/.remarkignore @@ -1 +1 @@ -__fixtures__ +fixtures/ diff --git a/__fixtures__/alt/expected.jsx b/fixtures/alt/expected.jsx similarity index 100% rename from __fixtures__/alt/expected.jsx rename to fixtures/alt/expected.jsx diff --git a/__fixtures__/alt/input.md b/fixtures/alt/input.md similarity index 100% rename from __fixtures__/alt/input.md rename to fixtures/alt/input.md diff --git a/__fixtures__/alt/options.json b/fixtures/alt/options.json similarity index 100% rename from __fixtures__/alt/options.json rename to fixtures/alt/options.json diff --git a/__fixtures__/duplicate/expected.jsx b/fixtures/duplicate/expected.jsx similarity index 100% rename from __fixtures__/duplicate/expected.jsx rename to fixtures/duplicate/expected.jsx diff --git a/__fixtures__/duplicate/input.md b/fixtures/duplicate/input.md similarity index 100% rename from __fixtures__/duplicate/input.md rename to fixtures/duplicate/input.md diff --git a/__fixtures__/duplicate/options.json b/fixtures/duplicate/options.json similarity index 100% rename from __fixtures__/duplicate/options.json rename to fixtures/duplicate/options.json diff --git a/__fixtures__/external-http/expected.jsx b/fixtures/external-http/expected.jsx similarity index 100% rename from __fixtures__/external-http/expected.jsx rename to fixtures/external-http/expected.jsx diff --git a/__fixtures__/external-http/input.md b/fixtures/external-http/input.md similarity index 100% rename from __fixtures__/external-http/input.md rename to fixtures/external-http/input.md diff --git a/__fixtures__/external-http/options.json b/fixtures/external-http/options.json similarity index 100% rename from __fixtures__/external-http/options.json rename to fixtures/external-http/options.json diff --git a/__fixtures__/external-https/expected.jsx b/fixtures/external-https/expected.jsx similarity index 100% rename from __fixtures__/external-https/expected.jsx rename to fixtures/external-https/expected.jsx diff --git a/__fixtures__/external-https/input.md b/fixtures/external-https/input.md similarity index 100% rename from __fixtures__/external-https/input.md rename to fixtures/external-https/input.md diff --git a/__fixtures__/external-https/options.json b/fixtures/external-https/options.json similarity index 100% rename from __fixtures__/external-https/options.json rename to fixtures/external-https/options.json diff --git a/__fixtures__/external-without-protocol/expected.jsx b/fixtures/external-without-protocol/expected.jsx similarity index 100% rename from __fixtures__/external-without-protocol/expected.jsx rename to fixtures/external-without-protocol/expected.jsx diff --git a/__fixtures__/external-without-protocol/input.md b/fixtures/external-without-protocol/input.md similarity index 100% rename from __fixtures__/external-without-protocol/input.md rename to fixtures/external-without-protocol/input.md diff --git a/__fixtures__/external-without-protocol/options.json b/fixtures/external-without-protocol/options.json similarity index 100% rename from __fixtures__/external-without-protocol/options.json rename to fixtures/external-without-protocol/options.json diff --git a/__fixtures__/inline/expected.jsx b/fixtures/inline/expected.jsx similarity index 100% rename from __fixtures__/inline/expected.jsx rename to fixtures/inline/expected.jsx diff --git a/__fixtures__/inline/input.md b/fixtures/inline/input.md similarity index 100% rename from __fixtures__/inline/input.md rename to fixtures/inline/input.md diff --git a/__fixtures__/inline/options.json b/fixtures/inline/options.json similarity index 100% rename from __fixtures__/inline/options.json rename to fixtures/inline/options.json diff --git a/__fixtures__/link/expected.jsx b/fixtures/link/expected.jsx similarity index 100% rename from __fixtures__/link/expected.jsx rename to fixtures/link/expected.jsx diff --git a/__fixtures__/link/input.md b/fixtures/link/input.md similarity index 100% rename from __fixtures__/link/input.md rename to fixtures/link/input.md diff --git a/__fixtures__/link/options.json b/fixtures/link/options.json similarity index 100% rename from __fixtures__/link/options.json rename to fixtures/link/options.json diff --git a/__fixtures__/multiple/expected.jsx b/fixtures/multiple/expected.jsx similarity index 100% rename from __fixtures__/multiple/expected.jsx rename to fixtures/multiple/expected.jsx diff --git a/__fixtures__/multiple/input.md b/fixtures/multiple/input.md similarity index 100% rename from __fixtures__/multiple/input.md rename to fixtures/multiple/input.md diff --git a/__fixtures__/multiple/options.json b/fixtures/multiple/options.json similarity index 100% rename from __fixtures__/multiple/options.json rename to fixtures/multiple/options.json diff --git a/__fixtures__/node-modules/expected.jsx b/fixtures/node-modules/expected.jsx similarity index 100% rename from __fixtures__/node-modules/expected.jsx rename to fixtures/node-modules/expected.jsx diff --git a/__fixtures__/node-modules/input.md b/fixtures/node-modules/input.md similarity index 100% rename from __fixtures__/node-modules/input.md rename to fixtures/node-modules/input.md diff --git a/__fixtures__/node-modules/options.json b/fixtures/node-modules/options.json similarity index 100% rename from __fixtures__/node-modules/options.json rename to fixtures/node-modules/options.json diff --git a/__fixtures__/relative-grandparent/expected.jsx b/fixtures/relative-grandparent/expected.jsx similarity index 100% rename from __fixtures__/relative-grandparent/expected.jsx rename to fixtures/relative-grandparent/expected.jsx diff --git a/__fixtures__/relative-grandparent/input.md b/fixtures/relative-grandparent/input.md similarity index 100% rename from __fixtures__/relative-grandparent/input.md rename to fixtures/relative-grandparent/input.md diff --git a/__fixtures__/relative-grandparent/options.json b/fixtures/relative-grandparent/options.json similarity index 100% rename from __fixtures__/relative-grandparent/options.json rename to fixtures/relative-grandparent/options.json diff --git a/__fixtures__/relative-parent/expected.jsx b/fixtures/relative-parent/expected.jsx similarity index 100% rename from __fixtures__/relative-parent/expected.jsx rename to fixtures/relative-parent/expected.jsx diff --git a/__fixtures__/relative-parent/input.md b/fixtures/relative-parent/input.md similarity index 100% rename from __fixtures__/relative-parent/input.md rename to fixtures/relative-parent/input.md diff --git a/__fixtures__/relative-parent/options.json b/fixtures/relative-parent/options.json similarity index 100% rename from __fixtures__/relative-parent/options.json rename to fixtures/relative-parent/options.json diff --git a/__fixtures__/relative-sibling/expected.jsx b/fixtures/relative-sibling/expected.jsx similarity index 100% rename from __fixtures__/relative-sibling/expected.jsx rename to fixtures/relative-sibling/expected.jsx diff --git a/__fixtures__/relative-sibling/input.md b/fixtures/relative-sibling/input.md similarity index 100% rename from __fixtures__/relative-sibling/input.md rename to fixtures/relative-sibling/input.md diff --git a/__fixtures__/relative-sibling/options.json b/fixtures/relative-sibling/options.json similarity index 100% rename from __fixtures__/relative-sibling/options.json rename to fixtures/relative-sibling/options.json diff --git a/__fixtures__/relative-simple/expected.jsx b/fixtures/relative-simple/expected.jsx similarity index 100% rename from __fixtures__/relative-simple/expected.jsx rename to fixtures/relative-simple/expected.jsx diff --git a/__fixtures__/relative-simple/input.md b/fixtures/relative-simple/input.md similarity index 100% rename from __fixtures__/relative-simple/input.md rename to fixtures/relative-simple/input.md diff --git a/__fixtures__/relative-simple/options.json b/fixtures/relative-simple/options.json similarity index 100% rename from __fixtures__/relative-simple/options.json rename to fixtures/relative-simple/options.json diff --git a/__fixtures__/root/expected.jsx b/fixtures/root/expected.jsx similarity index 100% rename from __fixtures__/root/expected.jsx rename to fixtures/root/expected.jsx diff --git a/__fixtures__/root/input.md b/fixtures/root/input.md similarity index 100% rename from __fixtures__/root/input.md rename to fixtures/root/input.md diff --git a/__fixtures__/root/options.json b/fixtures/root/options.json similarity index 100% rename from __fixtures__/root/options.json rename to fixtures/root/options.json diff --git a/__fixtures__/title/expected.jsx b/fixtures/title/expected.jsx similarity index 100% rename from __fixtures__/title/expected.jsx rename to fixtures/title/expected.jsx diff --git a/__fixtures__/title/input.md b/fixtures/title/input.md similarity index 100% rename from __fixtures__/title/input.md rename to fixtures/title/input.md diff --git a/__fixtures__/title/options.json b/fixtures/title/options.json similarity index 100% rename from __fixtures__/title/options.json rename to fixtures/title/options.json diff --git a/test.ts b/test.ts index ab88ad3..44f813f 100644 --- a/test.ts +++ b/test.ts @@ -7,7 +7,7 @@ import prettier from 'prettier' import remarkMdxImages from './index.js' -const fixturesDir = new URL('__fixtures__/', import.meta.url) +const fixturesDir = new URL('fixtures/', import.meta.url) const tests = await readdir(fixturesDir) for (const name of tests) {