Created
June 5, 2019 09:07
-
-
Save IhostVlad/88d3a67e444c687a89adcc58caf63d09 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fixture`ResolveJS`.page`https://github.com/reimagined/resolve` | |
test('ResolveJS', async t => { | |
await t.setNativeDialogHandler(() => true) | |
const locationPath = (await t.eval(() => window.location)).pathname | |
await t.expect(locationPath).eql('/reimagined/resolve') | |
// await t.expect(locationPath).eql('/reimagined/resolve2') | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment