mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-16 15:42:53 +00:00
323a5b59b2
## Description: Adds a radius to SAM sites - but only when hovering/ghost mode for sam/atom/hydrogen. solves #1157 <img width="395" height="321" alt="image" src="https://github.com/user-attachments/assets/130c5fe5-c0d3-4637-bce5-11eec74b652a" /> <img width="561" height="468" alt="image" src="https://github.com/user-attachments/assets/9b30149b-8596-4dd4-8399-908593c95e0d" /> <img width="844" height="634" alt="image" src="https://github.com/user-attachments/assets/dafcca96-3f79-4985-88f4-935d461888f0" /> <img width="665" height="668" alt="image" src="https://github.com/user-attachments/assets/924fdf7b-2cb6-4f64-9438-7412838f3d09" /> ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: w.o.n --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Evan <evanpelle@gmail.com>
31 lines
924 B
TypeScript
31 lines
924 B
TypeScript
export default {
|
|
testEnvironment: "node",
|
|
testRegex: "/tests/.*\\.(test|spec)?\\.(ts|tsx)$",
|
|
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
|
|
extensionsToTreatAsEsm: [".ts"],
|
|
moduleNameMapper: {
|
|
"^(\\.{1,2}/.*)\\.js$": "$1",
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
|
|
"<rootDir>/__mocks__/fileMock.js",
|
|
"\\.(css|less)$": "<rootDir>/__mocks__/fileMock.js",
|
|
},
|
|
transform: {
|
|
"^.+\\.tsx?$": ["@swc/jest"],
|
|
"^.+\\.mjs$": ["@swc/jest"],
|
|
"^.+\\.js$": ["@swc/jest"],
|
|
},
|
|
transformIgnorePatterns: [
|
|
"node_modules/(?!(nanoid|@jsep|fastpriorityqueue|@datastructures-js)/)",
|
|
],
|
|
collectCoverageFrom: ["src/**/*.ts", "!src/**/*.d.ts"],
|
|
coverageThreshold: {
|
|
global: {
|
|
statements: 21.25,
|
|
branches: 16,
|
|
lines: 21.0,
|
|
functions: 20.5,
|
|
},
|
|
},
|
|
coverageReporters: ["text", "lcov", "html"],
|
|
};
|