text: // TEST SETUP
  
  import {setGLContextDefaults, createGLContext} from '@luma.gl/core';
  import {makeDebugContext} from '@luma.gl/debug';
  
  // Avoid generating a lot of big context divs
  setGLContextDefaults({
    width: 1,
    height: 1,
    debug: true,
    throwOnFailure: false,
    throwOnError: false
  });
  
  export function createTestContext(opts = {}) {
    return makeDebugContext(createGLContext(opts));
  }
  
  export const fixture = {
    gl: createTestContext({webgl2: false, webgl1: true, throwOnFailure: true, throwOnError: true}),
    gl2: createTestContext({webgl2: true, webgl1: false})
  };
  