SkyWay js-sdk の v1.2.4 をベースとした検証用リポジトリ
元の README は README.original.md
License: MIT License
SkyWay js-sdk の v1.2.4 をベースとした検証用リポジトリ
元の README は README.original.md
以下のエラーを解決したい
前提
- 対象ディレクトリ
examples/large-room/
- #1 での結果を受け
RTCPeerConnection
のモックを追加した
npm run test
を実行した結果
example-const.ts
のテスト
skyway-sdk
を読み込んでいない- テストは PASS する
const.ts
のテスト
skyway-sdk
を読み込んでいるTypeError: (0 , __1.createError) is not a function
エラーで失敗する出力
▶ npm run test > [email protected] test > jest PASS src/example-const.test.ts FAIL src/const.test.ts ● Test suite failed to run TypeError: (0 , __1.createError) is not a function 28 | constructor() { 29 | if (!navigator?.mediaDevices) { > 30 | throw createError({ | ^ 31 | operationName: 'StreamFactory.constructor', 32 | info: errors.mediaDevicesNotFound, 33 | path: log.prefix, at new StreamFactory (../../packages/core/src/media/factory.ts:30:24) at Object.<anonymous> (../../packages/core/src/media/factory.ts:265:36) at Object.<anonymous> (../../packages/core/src/index.ts:8:1) at Object.<anonymous> (../../packages/room/src/errors.ts:1:1) at Object.<anonymous> (../../packages/room/src/index.ts:1:1) at Object.<anonymous> (src/const.ts:1:1) at Object.<anonymous> (src/const.test.ts:1:1) Test Suites: 1 failed, 1 passed, 2 total Tests: 1 passed, 1 total Snapshots: 0 total Time: 4.587 s Ran all test suites.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.