mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 23:09:49 +02:00
Added jest, jest-puppeteer and jest-image-snapshot for e2e tests
This commit is contained in:
10
e2e/spec/flowchart.spec.js
Normal file
10
e2e/spec/flowchart.spec.js
Normal file
@@ -0,0 +1,10 @@
|
||||
/* eslint-env jest */
|
||||
describe('Google', () => {
|
||||
beforeAll(async () => {
|
||||
await page.goto('https://google.com')
|
||||
})
|
||||
|
||||
it('should be titled "Google"', async () => {
|
||||
await expect(page.title()).resolves.toMatch('Google')
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user