Skip to content

Commit

Permalink
test: move fixtures into a separate module
Browse files Browse the repository at this point in the history
  • Loading branch information
teatimeguest committed Jan 22, 2024
1 parent 2a1cfee commit e2001f3
Show file tree
Hide file tree
Showing 41 changed files with 301 additions and 80 deletions.
92 changes: 54 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"patch-package": "8.0.0",
"rimraf": "5.0.5",
"typescript": "5.3.3",
"vitest": "1.2.0",
"vitest": "1.2.1",
"webpack-cli": "5.1.4"
}
}
2 changes: 1 addition & 1 deletion packages/config/dprint/config.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"dist",
"coverage",
"lib",
"fixtures",
"package-lock.json",
"/packages/fixtures/data",
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.88.9.wasm",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[tests/fixtures/**/*]
[data/**/*]
charset = unset
end_of_line = unset
indent_size = unset
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/tests/fixtures/** -text -diff -merge linguist-generated
/data/** -text -diff -merge linguist-generated
*.log linguist-language=shellsession
*.stderr linguist-language=shellsession
*.stdout linguist-language=shellsession
*.tlpdb linguist-language=gitattributes
mirmon.state linguist-language=dircolors
release-texlive.txt linguist-vendored !linguist-generated
9 changes: 9 additions & 0 deletions packages/fixtures/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# @setup-texlive-action/fixtures

## Notice

All files under the directory [`data`](./data) are public domain:

- [`release-texlive.txt`](./data/release-texlive.txt) was
taken from `install-tl-unx.tar.gz`; and
- the other files are machine-generated data.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit e2001f3

Please sign in to comment.