/**
 * Regression test for #1296
 */ import * as assert from "assert" ; import * as Oni from "oni-api" ; export const test = async ( oni ) => { await oni . automation . waitForEditors ( ) ; oni . configuration . setValues ( { "colors.foreground" : "magenta" , "colors.editor.foreground" : "magenta" , } ) ; oni . automation . waitFor ( ( ) => { const foregroundColor = document . body . style . color ; return foregroundColor === "magenta" ; } ) ; } ;