mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
Push skipped test
This commit is contained in:
parent
30783e975f
commit
bb4b11b200
2 changed files with 11 additions and 1 deletions
|
@ -70,6 +70,16 @@ describe('astro:db', () => {
|
|||
expect(new Date(themeAdded).getTime()).to.not.be.NaN;
|
||||
});
|
||||
|
||||
it.skip('Defaults can be overridden for dates', async () => {
|
||||
const request = new Request('http://example.com/');
|
||||
const res = await app.render(request);
|
||||
const html = await res.text();
|
||||
const $ = cheerioLoad(html);
|
||||
|
||||
const themeAdded = $($('.themes-list .theme-added')[1]).text();
|
||||
expect(new Date(themeAdded).getTime()).to.not.be.NaN;
|
||||
});
|
||||
|
||||
it('Allows expression defaults for text fields', async () => {
|
||||
const request = new Request('http://example.com/');
|
||||
const res = await app.render(request);
|
||||
|
|
|
@ -39,7 +39,7 @@ export default defineConfig({
|
|||
// but in this case we do it for both, due to tests
|
||||
await seed(Themes, [
|
||||
{ name: 'dracula' },
|
||||
{ name: 'monokai' },
|
||||
{ name: 'monokai', added: new Date() },
|
||||
]);
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue