mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-15 10:48:36 +01:00
2cd85f1a51
* Setup jest framework for unit tests * Move tests to a separate package * Remove test script
11 lines
340 B
JavaScript
11 lines
340 B
JavaScript
describe('sample', () => {
|
|
beforeAll(async () => {
|
|
await page.goto(global.ST_URL);
|
|
await page.waitForFunction('document.getElementById("preloader") === null', { timeout: 0 });
|
|
});
|
|
|
|
it('should be titled "SillyTavern"', async () => {
|
|
await expect(page.title()).resolves.toMatch('SillyTavern');
|
|
});
|
|
});
|