fix: enable type files for ajax

This commit is contained in:
gerjanvangeest 2020-11-16 14:22:53 +01:00 committed by GitHub
parent c9ca00ea5e
commit 1cb604c6d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -0,0 +1,5 @@
---
"@lion/ajax": patch
---
enable types for ajax

View file

@ -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);

View file

@ -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/",