mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -05:00
Skip :guiset test on OSX
This commit is contained in:
parent
c0d8324642
commit
6a33e2775f
1 changed files with 31 additions and 22 deletions
|
@ -114,6 +114,15 @@ describe("webdriver", () => {
|
||||||
return [newtab, result]
|
return [newtab, result]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// A simple ternany doesn't work inline :(
|
||||||
|
function testbutskipplatforms(...platforms){
|
||||||
|
if (platforms.includes(os.platform)) {
|
||||||
|
return test.skip
|
||||||
|
}
|
||||||
|
return test
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
test("`:rssexec` works", async () => {
|
test("`:rssexec` works", async () => {
|
||||||
const driver = await getDriver()
|
const driver = await getDriver()
|
||||||
try {
|
try {
|
||||||
|
@ -174,7 +183,7 @@ describe("webdriver", () => {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
test("`:guiset` works", async () => {
|
testbutskipplatforms("darwin")("`:guiset` works", async () => {
|
||||||
const { driver, newProfiles } = await getDriverAndProfileDirs()
|
const { driver, newProfiles } = await getDriverAndProfileDirs()
|
||||||
try {
|
try {
|
||||||
// Then, make sure `:guiset` is offering completions
|
// Then, make sure `:guiset` is offering completions
|
||||||
|
|
Loading…
Add table
Reference in a new issue