add scripts and github action to run root test + lint #1
Annotations
11 errors and 2 warnings
lint
Process completed with exit code 2.
|
test/package.test.js > package.json > should have precise dependency versions:
test/package.test.js#L18
AssertionError: expected '^9.16.0' to match /^\d+\.\d+\.\d+$/
- Expected:
/^\d+\.\d+\.\d+$/
+ Received:
"^9.16.0"
❯ test/package.test.js:18:23
❯ test/package.test.js:17:37
|
packages/components/test/components/File.test.tsx > File Component > renders a local file path:
packages/components/test/components/File.test.tsx#L24
ReferenceError: document is not defined
❯ Proxy.render node_modules/@testing-library/react/dist/pure.js:239:5
❯ packages/components/test/components/File.test.tsx:24:43
❯ Proxy.act node_modules/react/cjs/react.development.js:2512:16
❯ packages/components/test/components/File.test.tsx:24:33
|
packages/components/test/components/File.test.tsx > File Component > renders a URL:
packages/components/test/components/File.test.tsx#L39
ReferenceError: document is not defined
❯ Proxy.render node_modules/@testing-library/react/dist/pure.js:239:5
❯ packages/components/test/components/File.test.tsx:39:43
❯ Proxy.act node_modules/react/cjs/react.development.js:2512:16
❯ packages/components/test/components/File.test.tsx:39:33
|
packages/components/test/components/File.test.tsx > File Component > renders correct breadcrumbs for nested folders:
packages/components/test/components/File.test.tsx#L48
ReferenceError: document is not defined
❯ Proxy.render node_modules/@testing-library/react/dist/pure.js:239:5
❯ packages/components/test/components/File.test.tsx:48:46
❯ Proxy.act node_modules/react/cjs/react.development.js:2512:16
❯ packages/components/test/components/File.test.tsx:48:36
|
packages/components/test/components/Folder.test.tsx > Folder Component > fetches file data and displays files on mount:
packages/components/test/components/Folder.test.tsx#L34
ReferenceError: document is not defined
❯ Proxy.render node_modules/@testing-library/react/dist/pure.js:239:5
❯ packages/components/test/components/Folder.test.tsx:34:39
|
packages/components/test/components/Folder.test.tsx > Folder Component > fetches file data and displays files on mount:
packages/components/test/components/Folder.test.tsx#L34
ReferenceError: document is not defined
❯ Proxy.render node_modules/@testing-library/react/dist/pure.js:239:5
❯ packages/components/test/components/Folder.test.tsx:34:39
|
packages/components/test/components/Folder.test.tsx > Folder Component > displays the spinner while loading:
packages/components/test/components/Folder.test.tsx#L56
ReferenceError: document is not defined
❯ Proxy.render node_modules/@testing-library/react/dist/pure.js:239:5
❯ packages/components/test/components/Folder.test.tsx:56:27
|
packages/components/test/components/Folder.test.tsx > Folder Component > handles file listing errors:
packages/components/test/components/Folder.test.tsx#L70
ReferenceError: document is not defined
❯ Proxy.render node_modules/@testing-library/react/dist/pure.js:239:5
❯ packages/components/test/components/Folder.test.tsx:70:41
|
packages/components/test/components/Folder.test.tsx > Folder Component > renders breadcrumbs correctly:
packages/components/test/components/Folder.test.tsx#L88
ReferenceError: document is not defined
❯ Proxy.render node_modules/@testing-library/react/dist/pure.js:239:5
❯ packages/components/test/components/Folder.test.tsx:88:39
|
packages/components/test/components/Layout.test.tsx > Layout Component > renders children:
packages/components/test/components/Layout.test.tsx#L11
ReferenceError: document is not defined
❯ Proxy.render node_modules/@testing-library/react/dist/pure.js:239:5
❯ packages/components/test/components/Layout.test.tsx:11:27
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|