mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Adding three library to help circleci tests pass.
This commit is contained in:
parent
d0be1ea774
commit
023e6c771e
4 changed files with 12 additions and 13 deletions
|
|
@ -12,10 +12,10 @@ jobs:
|
|||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
key: dependency-cache-{{ checksum "app/package-lock.json" }}-2
|
||||
key: dependency-cache-{{ checksum "app/package-lock.json" }}
|
||||
- run: cd app && npm install
|
||||
- save_cache:
|
||||
key: dependency-cache-{{ checksum "app/package-lock.json" }}-2
|
||||
key: dependency-cache-{{ checksum "app/package-lock.json" }}
|
||||
paths:
|
||||
- ./app/node_modules
|
||||
- run: cd app && npm run test
|
||||
|
|
@ -26,10 +26,10 @@ jobs:
|
|||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
key: dependency-cache-{{ checksum "app/package-lock.json" }}-2
|
||||
key: dependency-cache-{{ checksum "app/package-lock.json" }}
|
||||
- run: cd app && npm install
|
||||
- save_cache:
|
||||
key: dependency-cache-{{ checksum "app/package-lock.json" }}-2
|
||||
key: dependency-cache-{{ checksum "app/package-lock.json" }}
|
||||
paths:
|
||||
- ./app/node_modules
|
||||
- run: cd app && npm run test
|
||||
|
|
@ -40,10 +40,10 @@ jobs:
|
|||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
key: dependency-cache-{{ checksum "app/package-lock.json" }}-2
|
||||
key: dependency-cache-{{ checksum "app/package-lock.json" }}
|
||||
- run: cd app && npm install --legacy-peer-deps
|
||||
- save_cache:
|
||||
key: dependency-cache-{{ checksum "app/package-lock.json" }}-2
|
||||
key: dependency-cache-{{ checksum "app/package-lock.json" }}
|
||||
paths:
|
||||
- ./app/node_modules
|
||||
- run: cd app && npm run test
|
||||
|
|
@ -54,10 +54,10 @@ jobs:
|
|||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
key: dependency-cache-{{ checksum "app/package-lock.json" }}-2
|
||||
key: dependency-cache-{{ checksum "app/package-lock.json" }}
|
||||
- run: cd app && npm install --legacy-peer-deps
|
||||
- save_cache:
|
||||
key: dependency-cache-{{ checksum "app/package-lock.json" }}-2
|
||||
key: dependency-cache-{{ checksum "app/package-lock.json" }}
|
||||
paths:
|
||||
- ./app/node_modules
|
||||
- run: cd app && npm run test
|
||||
|
|
|
|||
7
app/package-lock.json
generated
7
app/package-lock.json
generated
|
|
@ -26,6 +26,7 @@
|
|||
"react-stl-viewer": "^2.2.5",
|
||||
"semantic-ui-offline": "^2.5.0",
|
||||
"semantic-ui-react": "^2.1.4",
|
||||
"three": "^0.151.3",
|
||||
"web-vitals": "^2.1.4"
|
||||
}
|
||||
},
|
||||
|
|
@ -16548,8 +16549,7 @@
|
|||
"node_modules/three": {
|
||||
"version": "0.151.3",
|
||||
"resolved": "https://registry.npmjs.org/three/-/three-0.151.3.tgz",
|
||||
"integrity": "sha512-+vbuqxFy8kzLeO5MgpBHUvP/EAiecaDwDuOPPDe6SbrZr96kccF0ktLngXc7xA7bzyd3N0t2f6mw3Z9y6JCojQ==",
|
||||
"peer": true
|
||||
"integrity": "sha512-+vbuqxFy8kzLeO5MgpBHUvP/EAiecaDwDuOPPDe6SbrZr96kccF0ktLngXc7xA7bzyd3N0t2f6mw3Z9y6JCojQ=="
|
||||
},
|
||||
"node_modules/three-stdlib": {
|
||||
"version": "2.17.2",
|
||||
|
|
@ -29719,8 +29719,7 @@
|
|||
"three": {
|
||||
"version": "0.151.3",
|
||||
"resolved": "https://registry.npmjs.org/three/-/three-0.151.3.tgz",
|
||||
"integrity": "sha512-+vbuqxFy8kzLeO5MgpBHUvP/EAiecaDwDuOPPDe6SbrZr96kccF0ktLngXc7xA7bzyd3N0t2f6mw3Z9y6JCojQ==",
|
||||
"peer": true
|
||||
"integrity": "sha512-+vbuqxFy8kzLeO5MgpBHUvP/EAiecaDwDuOPPDe6SbrZr96kccF0ktLngXc7xA7bzyd3N0t2f6mw3Z9y6JCojQ=="
|
||||
},
|
||||
"three-stdlib": {
|
||||
"version": "2.17.2",
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
"react-stl-viewer": "^2.2.5",
|
||||
"semantic-ui-offline": "^2.5.0",
|
||||
"semantic-ui-react": "^2.1.4",
|
||||
"three": "^0.151.3",
|
||||
"web-vitals": "^2.1.4"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
import React from "react";
|
||||
import {getByTestId, render, screen} from '@testing-library/react';
|
||||
import {DisableDownloadsToggle} from "./Common";
|
||||
import user from '@testing-library/user-event';
|
||||
import {StatusContext} from "../contexts/contexts";
|
||||
import {startDownloads} from "../components/Common";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue