Skip to content

Commit

Permalink
ci: Trying to find out why CI fails
Browse files Browse the repository at this point in the history
  • Loading branch information
motss committed Mar 26, 2020
1 parent 22a63cb commit 0c085f9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
pwd && ls -la
- name: Run Test
continue-on-error: true
run: |
npm run test:dev
19 changes: 18 additions & 1 deletion src/tests/full-icu.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('timezones', () => {
}
}

it(`supports full ICU`, () => {
it(`supports full ICU`, async () => {
ok(hasFullICU());
strictEqual(
Intl.DateTimeFormat('en-US', {
Expand All @@ -30,6 +30,23 @@ describe('timezones', () => {
'Feb 2, 2020'
);
strictEqual(getResolvedLocale(), 'en-US');

const content = await browser.executeAsync(async () => {
const a = document.createElement('app-datepicker');

document.body.appendChild(a);

await a.updateComplete;

return (
Array.from(
a.shadowRoot?.querySelectorAll('.full-calendar__day') ?? []
)[2]?.outerHTML ?? 'nil'
);
});

console.debug('1', content);
strictEqual(content, '');
});

});

0 comments on commit 0c085f9

Please sign in to comment.