fix: enable type files for ajax
This commit is contained in:
parent
c9ca00ea5e
commit
1cb604c6d2
3 changed files with 5 additions and 3 deletions
5
.changeset/tall-eagles-doubt.md
Normal file
5
.changeset/tall-eagles-doubt.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@lion/ajax": patch
|
||||
---
|
||||
|
||||
enable types for ajax
|
||||
|
|
@ -23,9 +23,7 @@ describe('AjaxClass languages', () => {
|
|||
});
|
||||
|
||||
it('sets "Accept-Language" header to "en-GB" for one request if <html lang="en-GB">', async () => {
|
||||
console.log('setting lang');
|
||||
document.documentElement.lang = 'en-GB';
|
||||
console.log('after setting lang');
|
||||
const req = new AjaxClass();
|
||||
req.get('data.json');
|
||||
await aTimeout(0);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
"packages/overlays/test/utils-tests/**/*.js", // TODO: Needs to get typed!
|
||||
"packages/form-integrations/test/**/*.js", // TODO: Needs to get typed!
|
||||
"packages/combobox/test/**/*.js", // TODO: Needs to get typed!
|
||||
"packages/ajax/**/*.js", // Deprecated because we will move to redaxios soon.
|
||||
// ignore test/demos for singleton manager until overlays are typed as it's used in there
|
||||
"packages/singleton-manager/demo/",
|
||||
"packages/singleton-manager/test/",
|
||||
|
|
|
|||
Loading…
Reference in a new issue