DEV: Add `discourse/tests` to jsconfig (#19031)

This allows IDEs to resolve imports under `discourse/tests`
This commit is contained in:
David Taylor 2022-11-15 11:33:56 +00:00 committed by GitHub
parent 3277a858bf
commit d123371cb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,7 @@
"paths": {
"admin/*": ["./addon/*"],
"discourse/*": ["../discourse/app/*"],
"discourse/tests/*": ["../discourse/tests/*"],
"discourse-common/*": ["../discourse-common/addon/*"],
"pretty-text/*": ["../pretty-text/addon/*"],
}

View File

@ -5,6 +5,7 @@
"paths": {
"discourse-widget-hbs/*": ["./addon/*"],
"discourse/*": ["../discourse/app/*"],
"discourse/tests/*": ["../discourse/tests/*"],
"discourse-common/*": ["../discourse-common/addon/*"]
}
},

View File

@ -4,6 +4,7 @@
"baseUrl": ".",
"paths": {
"discourse/*": ["./app/*"],
"discourse/tests/*": ["./tests/*"],
"discourse-common/*": ["../discourse-common/addon/*"],
"pretty-text/*": ["../pretty-text/addon/*"],
"select-kit/*": ["../select-kit/addon/*"],

View File

@ -5,6 +5,7 @@
"paths": {
"pretty-text/*": ["./addon/*"],
"discourse/*": ["../discourse/app/*"],
"discourse/tests/*": ["../discourse/tests/*"],
"discourse-common/*": ["../discourse-common/addon/*"]
}
},

View File

@ -5,6 +5,7 @@
"paths": {
"select-kit/*": ["./addon/*"],
"discourse/*": ["../discourse/app/*"],
"discourse/tests/*": ["../discourse/tests/*"],
"discourse-common/*": ["../discourse-common/addon/*"],
}
},

View File

@ -5,6 +5,7 @@
"paths": {
"wizard/*": ["./addon/*"],
"discourse/*": ["../discourse/app/*"],
"discourse/tests/*": ["../discourse/tests/*"],
"discourse-common/*": ["../discourse-common/addon/*"],
}
},