Commit Graph

75 Commits

Author SHA1 Message Date
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
Takashi Tamura
0cf96b7dfb Edit JSDoc of test utils. 2020-07-04 19:43:44 +09:00
Takashi Tamura
7091faf2fe Edit JSDoc. 2020-07-04 14:41:52 +09:00
Takashi Tamura
c6ef892d49 Edit test/README.md 2020-07-04 08:37:36 +09:00
Takashi Tamura
6bb95c2058 * Use VS Code 1.46.0 for tests.
* Get the state of the PDF viewer through WebView API instead of Websocket.
* Remove `request_state` protocol.
2020-06-16 15:53:24 +09:00
Takashi Tamura
c359a2bf23 enable esModuleInterop in tsconfig.json, which is necessary to compile with the jimp package.
For the option, see https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#support-for-import-d-from-cjs-from-commonjs-modules-with---esmoduleinterop
2020-05-02 19:22:34 +09:00
Jerome Lelong
a32dfdfe75 Update placeholders documentation 2020-04-06 10:32:30 +02:00
Jerome Lelong
ff55513fd9 Reactivate copy test on windows 2020-04-05 17:13:47 +02:00
Jerome Lelong
7c9ec1c62f Deactivate copy test for now 2020-04-05 11:30:46 +02:00
Jerome Lelong
baeaa740fd Fix wrong settings for q/.../ tests 2020-04-03 22:36:50 +02:00
Jerome Lelong
5a7c2f91d2 Fix error in outdir setting 2020-04-03 20:18:21 +02:00
Jerome Lelong
6877afc181 Add q/.../ and copy tests on Windows 2020-04-03 16:58:12 +02:00
Jerome Lelong
24ac35f466 Add test for building subfile with extra input in a subdir 2020-04-02 16:12:06 +02:00
Jerome Lelong
3d114a1fb1 Set relative outDir for testing build with subfile
This change enables us to check that the cwd directory is correct
if the outDir is generated at the right place.
2020-04-02 15:55:27 +02:00
Jerome Lelong
4bd714d497 Fix outDir setting 2020-04-01 15:57:28 +02:00
Jerome Lelong
922f5c2d32 Fix wrong filename 2020-04-01 15:50:45 +02:00
Jerome Lelong
89aef8d45e Add build test with spaces in outdir 2020-04-01 15:20:46 +02:00
Jerome Lelong
7fda3d6904 Add build test with spaces in paths 2020-04-01 15:05:42 +02:00
Takashi Tamura
bce11da246 Add tests of completion. Export API only when CI. 2020-03-29 10:02:03 +09:00
Takashi Tamura
e177be953f Use the JSDoc format. Add badges to READEME.md. 2020-03-28 07:41:58 +09:00
Takashi Tamura
f6ac06355c Call printLogMessages if waitUntil fails. 2020-03-26 22:41:46 +09:00
Takashi Tamura
93ec788a58 Skip tests on macOS. 2020-03-25 10:11:58 +09:00
Takashi Tamura
eff98cbac9 Skip tests on windows. 2020-03-25 08:50:03 +09:00
Takashi Tamura
6ae1061b21 Add a test of auto build with watch.files.ignore. 2020-03-17 17:21:12 +09:00