<commit_before>describe("VglTextGeometry component", function() {
    const {VglTextGeometry, VglNamespace, VglFont} = VueGL;
    const assert = chai.assert;
    this.timeout(7000);
    describe("Parameters of a instance should be same as the component properties.", function() {
        it("When properties are number.", function(done) {
            const vm = new Vue({
                template: `<vgl-namespace><vgl-font ref="font" name="font" src="base/node_modules/three/examples/fonts/helvetiker_regular.typeface.json" /><vgl-text-geometry ref="geo" font="font" :size="10" :height="6" :curve-segments="8" :bevel-enabled="true" :bevel-thickness="3" :bevel-size="6" :bevel-segments="4">a</vgl-text-geometry></vgl-namespace>`,
                components: {VglTextGeometry, VglNamespace, VglFont}
            }).$mount();
            vm.$refs.font.$watch("inst", () => {
                vm.$nextTick(() => {
                    try {
                        assert.strictEqual(vm.$refs.geo.inst.parameters.parameters.size, 10);
                        assert.strictEqual(vm.$refs.geo.inst.parameters.parameters.height, 6);
                        assert.strictEqual(vm.$refs.geo.inst.parameters.parameters.curveSegments, 8);
                        assert.isTrue(vm.$refs.geo.inst.parameters.parameters.bevelEnabled);
                        assert.strictEqual(vm.$refs.geo.inst.parameters.parameters.bevelThickness, 3);
                        assert.strictEqual(vm.$refs.geo.inst.parameters.parameters.bevelSize, 6);
                        assert.strictEqual(vm.$refs.geo.inst.parameters.parameters.bevelSegments, 4);
                        done();
                    } catch(e) {<commit_msg>Set timeout for tests with xhr.<commit_after>describe("VglTextGeometry component", function() {
    const {VglTextGeometry, VglNamespace, VglFont} = VueGL;
    const assert = chai.assert;
    this.timeout(7500);
    describe("Parameters of a instance should be same as the component properties.", function() {
        it("When properties are number.", function(done) {
            const vm = new Vue({
                template: `<vgl-namespace><vgl-font ref="font" name="font" src="base/node_modules/three/examples/fonts/helvetiker_regular.typeface.json" /><vgl-text-geometry ref="geo" font="font" :size="10" :height="6" :curve-segments="8" :bevel-enabled="true" :bevel-thickness="3" :bevel-size="6" :bevel-segments="4">a</vgl-text-geometry></vgl-namespace>`,
                components: {VglTextGeometry, VglNamespace, VglFont}
            }).$mount();
            vm.$refs.font.$watch("inst", () => {
                vm.$nextTick(() => {
                    try {
                        assert.strictEqual(vm.$refs.geo.inst.parameters.parameters.size, 10);
                        assert.strictEqual(vm.$refs.geo.inst.parameters.parameters.height, 6);
                        assert.strictEqual(vm.$refs.geo.inst.parameters.parameters.curveSegments, 8);
                        assert.isTrue(vm.$refs.geo.inst.parameters.parameters.bevelEnabled);
                        assert.strictEqual(vm.$refs.geo.inst.parameters.parameters.bevelThickness, 3);
                        assert.strictEqual(vm.$refs.geo.inst.parameters.parameters.bevelSize, 6);
                        assert.strictEqual(vm.$refs.geo.inst.parameters.parameters.bevelSegments, 4);
                        done();
                    } catch(e) {
{'fraction_non_alphanumeric': 0.1443208430913349, 'fraction_numerical': 0.01053864168618267, 'mean_word_length': 2.366502463054187, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '903003', 'n_tokens_mistral': 1019, 'n_tokens_neox': 940, 'n_words': 147}