Skip to content

Commit 9cda439

Browse files
committed
chore(test): organize test folders
1 parent 42bbad6 commit 9cda439

31 files changed

+128
-105
lines changed

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Tests files
2-
src/generators/api-links/test/fixtures/
2+
src/generators/api-links/__tests__/fixtures/
33
*.snapshot

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default [
77
pluginJs.configs.recommended,
88
importX.flatConfigs.recommended,
99
{
10-
ignores: ['out/', 'src/generators/api-links/test/fixtures/'],
10+
ignores: ['out/', 'src/generators/api-links/__tests__/fixtures/'],
1111
},
1212
{
1313
files: ['**/*.mjs'],
File renamed without changes.

src/generators/api-links/test/fixtures.test.mjs.snapshot renamed to src/generators/api-links/__tests__/fixtures.test.mjs.snapshot

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/generators/api-links/test/fixtures/mod.js renamed to src/generators/api-links/__tests__/fixtures/mod.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22

33
// A module may export one or more methods.
44

5-
function foo() {
6-
}
7-
5+
function foo() {}
86

97
module.exports = {
10-
foo
8+
foo,
119
};

src/generators/api-links/test/fixtures/prototype.js renamed to src/generators/api-links/__tests__/fixtures/prototype.js

File renamed without changes.

0 commit comments

Comments
 (0)