mirror of
https://github.com/liriliri/eruda.git
synced 2026-03-20 09:38:37 +08:00
Add: System info
This commit is contained in:
@@ -20,9 +20,14 @@ describe('info', function ()
|
||||
expect($tool.find('.eruda-content').eq(2)).toContainText(window.innerWidth);
|
||||
});
|
||||
|
||||
it('system', function ()
|
||||
{
|
||||
expect($tool.find('.eruda-content').eq(3)).toContainText('os');
|
||||
});
|
||||
|
||||
it('about', function ()
|
||||
{
|
||||
expect($tool.find('.eruda-content').eq(3)).toHaveText(/Eruda v[\d.]+/);
|
||||
expect($tool.find('.eruda-content').eq(4)).toHaveText(/Eruda v[\d.]+/);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user