mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -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]
|
||||
}
|
||||
|
||||
// A simple ternany doesn't work inline :(
|
||||
function testbutskipplatforms(...platforms){
|
||||
if (platforms.includes(os.platform)) {
|
||||
return test.skip
|
||||
}
|
||||
return test
|
||||
}
|
||||
|
||||
|
||||
test("`:rssexec` works", async () => {
|
||||
const driver = await getDriver()
|
||||
try {
|
||||
|
@ -174,7 +183,7 @@ describe("webdriver", () => {
|
|||
}
|
||||
})
|
||||
|
||||
test("`:guiset` works", async () => {
|
||||
testbutskipplatforms("darwin")("`:guiset` works", async () => {
|
||||
const { driver, newProfiles } = await getDriverAndProfileDirs()
|
||||
try {
|
||||
// Then, make sure `:guiset` is offering completions
|
||||
|
|
Loading…
Add table
Reference in a new issue