This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { mount } from '@vue/test-utils' | |
import Component from '.' | |
describe('Component', () => { | |
describe('mounted', () => { | |
let wrapper | |
let spy | |
beforeEach(() => { | |
spy = jest.spyOn(Component.methods, 'methodToMock') | |
wrapper = mount(Component) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AFRAME.registerShader('videoAlpha', { | |
schema: { | |
src: { type: 'map' }, | |
transparent: { default: true, is: 'uniform' } | |
}, | |
init (data) { | |
const videoTexture = new THREE.VideoTexture(data.src) | |
videoTexture.minFilter = THREE.LinearFilter | |
videoTexture.format = THREE.RGBAFormat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const puppeteer = require("puppeteer"); | |
const qrcode = require("qrcode-terminal"); | |
const { from, merge } = require('rxjs'); | |
const { take } = require('rxjs/operators'); | |
const path = require('path'); | |
const readline = require('readline'); | |
var rimraf = require("rimraf"); | |
let browser = null; | |
let page = null; |