mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
Fix tests
This commit is contained in:
parent
e2fd75a151
commit
8655fa4ae9
|
@ -3,6 +3,7 @@ module.exports = {
|
||||||
'^js/(.*)': '<rootDir>/js/$1',
|
'^js/(.*)': '<rootDir>/js/$1',
|
||||||
'^test/(.*)': '<rootDir>/test/$1',
|
'^test/(.*)': '<rootDir>/test/$1',
|
||||||
'\\.css$': 'identity-obj-proxy',
|
'\\.css$': 'identity-obj-proxy',
|
||||||
|
'\\.scss$': 'identity-obj-proxy',
|
||||||
},
|
},
|
||||||
'roots': [
|
'roots': [
|
||||||
'js/',
|
'js/',
|
||||||
|
|
|
@ -42,7 +42,7 @@ export const ModalContent = ({ children }: { children: ComponentChildren }) => {
|
||||||
*/
|
*/
|
||||||
export const ModalFooter = ({ children }: { children: ComponentChildren }) => {
|
export const ModalFooter = ({ children }: { children: ComponentChildren }) => {
|
||||||
return (
|
return (
|
||||||
<div className={styles.modalFooter}>
|
<div role="contentinfo" className={styles.modalFooter}>
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
@ -92,7 +92,7 @@ export interface ModalHeaderProps {
|
||||||
*/
|
*/
|
||||||
export const ModalHeader = ({ onClose, title, icon }: ModalHeaderProps) => {
|
export const ModalHeader = ({ onClose, title, icon }: ModalHeaderProps) => {
|
||||||
return (
|
return (
|
||||||
<div className={styles.modalHeader}>
|
<div role="banner" className={styles.modalHeader}>
|
||||||
<span className={styles.modalTitle}>
|
<span className={styles.modalTitle}>
|
||||||
{icon && <i className={`fa-solid fa-${icon}`} role="img" />}
|
{icon && <i className={`fa-solid fa-${icon}`} role="img" />}
|
||||||
{' '}
|
{' '}
|
||||||
|
|
12
package-lock.json
generated
12
package-lock.json
generated
|
@ -4962,9 +4962,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/caniuse-lite": {
|
"node_modules/caniuse-lite": {
|
||||||
"version": "1.0.30001342",
|
"version": "1.0.30001442",
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001342.tgz",
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001442.tgz",
|
||||||
"integrity": "sha512-bn6sOCu7L7jcbBbyNhLg0qzXdJ/PMbybZTH/BA6Roet9wxYRm6Tr9D0s0uhLkOZ6MSG+QU6txUgdpr3MXIVqjA==",
|
"integrity": "sha512-239m03Pqy0hwxYPYR5JwOIxRJfLTWtle9FV8zosfV5pHg+/51uD4nxcUlM8+mWWGfwKtt8lJNHnD3cWw9VZ6ow==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -19735,9 +19735,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"caniuse-lite": {
|
"caniuse-lite": {
|
||||||
"version": "1.0.30001342",
|
"version": "1.0.30001442",
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001342.tgz",
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001442.tgz",
|
||||||
"integrity": "sha512-bn6sOCu7L7jcbBbyNhLg0qzXdJ/PMbybZTH/BA6Roet9wxYRm6Tr9D0s0uhLkOZ6MSG+QU6txUgdpr3MXIVqjA==",
|
"integrity": "sha512-239m03Pqy0hwxYPYR5JwOIxRJfLTWtle9FV8zosfV5pHg+/51uD4nxcUlM8+mWWGfwKtt8lJNHnD3cWw9VZ6ow==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"canvas": {
|
"canvas": {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user