Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it("detect portals from top left",async function() {
const portals=await detectFrame(world,top[0],new Vec3(0,-1,0));
assert.deepEqual(portals,[portal])
});
it("detect portals from right top",async function() {
it("detect portals from right top",async function() {
const portals=await detectFrame(world,right[right.length-1],direction.scaled(-1));
assert.deepEqual(portals,[portal])
})
});