/* global autosize */ window.autosize = require('vendor/autosize'); require('~/gl_form'); require('~/lib/utils/text_utility'); require('~/lib/utils/common_utils'); describe('GLForm', () => { const global = window.gl || (window.gl = {}); const GLForm = global.GLForm; it('should be defined in the global scope', () => { expect(GLForm).toBeDefined(); }); describe('when instantiated', function () { beforeEach((done) => { this.form = $('