Commit Graph

98 Commits

Author SHA1 Message Date
Jerome Lelong
b6dfdafd4b Add waitGivenRootFile 2022-03-05 13:54:05 +01:00
Jerome Lelong
5a33152ecc Add message to assert.ok 2022-03-05 13:54:05 +01:00
Jerome Lelong
2744391faa Test list of watched files 2022-03-05 13:54:05 +01:00
Jerome Lelong
bfbbd41efc Add test for structure with multi-root workspace 2022-03-04 16:20:13 +01:00
Jerome Lelong
1a46e2502b Add more tests
latex-workshop.latex.search.rootFiles.include
latex-workshop.latex.search.rootFiles.exclude
2022-03-02 08:45:57 +01:00
Jerome Lelong
e1526cfe71 Add more tests
latex-workshop.latex.rootFile.useSubFile
latex-workshop.latex.autoBuild.run
latex-workshop.latex.rootFile.doNotPrompt
2022-03-02 08:34:49 +01:00
Jerome Lelong
e87096040d Add test for forceRecipeUsage 2022-03-02 08:34:49 +01:00
Jerome Lelong
e4f0f028e0 Add outDir test 2022-03-02 08:34:49 +01:00
Jerome Lelong
2c0bb58597 Use an empty file in the second root dir 2022-03-02 08:34:49 +01:00
Jerome Lelong
6b761fce5b Add test framework for multi-root workspaces 2022-03-02 08:34:49 +01:00
Takashi Tamura
7db24ba28c Use VS Code 1.64.2 for tests 2022-02-24 12:37:16 +09:00
Takashi Tamura
832857fa32 Update packages:
- @types/mocha to v9.1.0
- @types/ws to v8.2.3
- @typescript-eslint/eslint-plugin to v5.12.1
- @typescript-eslint/parser to v5.12.1
- @vscode/test-electron to v2.1.2
- mocha to v9.2.1
2022-02-24 12:27:49 +09:00
Takashi Tamura
cff1a372fd
Merge pull request #3008 from tamuratak/improve_pdfviewer_6
Support the internal PDF viewer on virtual workspaces
2021-12-25 21:19:44 +09:00
Takashi Tamura
7a4d03de17 Stop exposing API. Close #3009 2021-12-15 10:14:09 +09:00
Takashi Tamura
95015dd1f4 Use VS Code FileSystem to read a PDF file on the internal server. 2021-12-11 18:55:28 +09:00
Takashi Tamura
b51a9cd1b6 Fix a magic comment test. 2021-11-23 12:13:32 +09:00
Takashi Tamura
7d0501b21a - Use the height attribute of an img tag to scale an image.
- Remove a dependency on the jimp package.
- Drop the support for VS Code prior to v1.62.0
2021-11-06 11:19:21 +09:00
Takashi Tamura
aadfcd569d - Drop the supprot for VS Code prior to v1.61.2
- Add LwCompletionItem.
2021-10-26 17:22:17 +09:00
Takashi Tamura
6893ef03ed Use VS Code 1.60.2 for tests. 2021-09-26 11:53:48 +09:00
Takashi Tamura
a18295307f Use VS Coee v1.58.2 for tests. 2021-08-01 19:38:27 +09:00
Takashi Tamura
23f08b8003 Use extension.exports.realExtension 2021-08-01 17:45:57 +09:00
Takashi Tamura
d3b2acbb7a Fix a test. 2021-08-01 13:39:25 +09:00
Jerome Lelong
736b177535 Test the list of included tex to check circular inclusion 2021-07-11 22:28:16 +02:00
Jerome Lelong
148f282e27 Add test for infinite loop when parsing 2021-07-11 22:28:15 +02:00
Takashi Tamura
86f26a7a9f Enable @typescript-eslint/no-floating-promises.
The usage is the following:

- If we have to await a promise, we use await or return.
- If we don't have to await a promise, we use set void before the promise.
2021-05-27 11:42:24 +09:00
Takashi Tamura
cee520f547 Use VS Code 1.56.2 for tests. 2021-05-17 14:25:07 +09:00
Takashi Tamura
0d8cd2bf26 \include{filename} cannot include the extension .tex in the filename. Close #2687. 2021-05-16 21:26:01 +09:00
Jerome Lelong
1cacd621e0 Add a test for rootFile detection with verbatim content
Related to #2671
2021-05-13 07:32:16 +02:00
Jerome Lelong
3b97d365f3 Add tests for subfiles with autobuild=onSave 2021-05-07 09:53:35 +02:00
Takashi Tamura
f460606cd9 Enable ESLint rules:
- "@typescript-eslint/no-invalid-void-type": "error"
- "@typescript-eslint/no-unsafe-argument": "error"
- "@typescript-eslint/no-unsafe-call": "error"
- "@typescript-eslint/no-unsafe-return": "error"
- "@typescript-eslint/unbound-method": "error"
2021-04-16 09:34:16 +09:00
Takashi Tamura
51961eb37f Run tests. 2021-03-03 08:40:35 +09:00
Jerome Lelong
c6244723cd Add rootfile detection tests 2021-02-26 16:59:10 +01:00
James-Yu
d42586d03b Version 8.16.0 2021-02-19 17:23:00 +08:00
Takashi Tamura
1a86d64827 Use v1.53.2 for CI tests. 2021-02-17 09:40:03 +09:00
Takashi Tamura
4bbbc99621 Use VS Code v1.52.1 for CI tests. 2020-12-22 15:31:30 +09:00
Takashi Tamura
9fce676695 Enable @typescript-eslint/require-await. 2020-12-19 08:51:04 +09:00
Takashi Tamura
a16aa9b76e Enable @typescript-eslint/return-await 2020-12-19 08:51:03 +09:00
Takashi Tamura
3cb5d21a6d Add test/fixtures/build/fixture060 2020-12-11 09:29:30 +09:00
Takashi Tamura
c52a5df00f - Use import type {..} from ... if possible.
- Add readonly and private if possible.
2020-12-08 10:53:05 +09:00
Takashi Tamura
7c4e4eecda Use VS Code 1.51.1 for tests. 2020-11-15 09:42:33 +09:00
Takashi Tamura
1e251a05c9 - Add Snippet View.
- Adapt to the changes of VS Code API.
- Use VS Code 1.50.0 for tests.
- Drop the support for VS Code < 1.50.0. #2374
2020-11-15 09:26:43 +09:00
Jerome Lelong
1f2bcfbec6 No leading space allowed before #begin{document} when using subfiles
Close #2356.
2020-10-31 20:25:08 +01:00
Jerome Lelong
6f63790744 Fix tests with subfiles 2.0
The subfiles package expects the \begin{document} command to start
at column 0.
2020-10-30 22:04:16 +01:00
Takashi Tamura
b0de2768f7 Fix waitLatexWorkshopActivated. 2020-10-12 09:22:45 +09:00
Takashi Tamura
57f01831d4 Use unknown instead of any if possible.
See https://devblogs.microsoft.com/typescript/announcing-typescript-3-0/#the-unknown-type
2020-09-19 11:01:59 +09:00
Takashi Tamura
88b808da22 Fix typo. 2020-08-20 15:11:33 +09:00
Takashi Tamura
700b50fb3b - Extend timeout of tests of viewers on windows.
- Use VS Code 1.48.0 for tests.
2020-08-17 19:26:42 +09:00
Takashi Tamura
dec49953d1 - Add src/README.md
- Edit test/README.md
2020-08-15 18:07:36 +09:00
Takashi Tamura
3907b9409f Edit test/README.md and .github/workflows/README.md 2020-08-11 17:47:51 +09:00
Takashi Tamura
aa44c4f7b0 Edit JSDoc. 2020-07-08 17:22:56 +09:00