1. 05 1月, 2024 3 次提交
  2. 04 1月, 2024 4 次提交
    • José Luis Millán's avatar
      C++: qualified auto (#1299) · f09861c6
      由 José Luis Millán 提交于
      f09861c6
    • Iñaki Baz Castillo's avatar
      Make Node test independent (part 3) (#1297) · 913cf8fe
      由 Iñaki Baz Castillo 提交于
      - Done in `test-WebRtcServer` and `test-multiopus.ts`.
      - This helped fixing a bug since `rtpCapabilities` given to `router.canConsume()` were modified internally! Now we clone them.
      - Also avoid super long `import` lines in some random files.
      913cf8fe
    • Iñaki Baz Castillo's avatar
      Make Node tests independent (part 2) (#1296) · e51b47bd
      由 Iñaki Baz Castillo 提交于
      - Just done in `test-Router.ts` as POC.
      - Avoid declaring global variables in test files. Put them into `ctx: TestContext` instead.
      - Things in `ctx` should be const/frozen or reset in each `test()` execution.
      - So use a new `utils.deepFreeze()` function which freezes the object and would throw upon any  modification attempt.
      e51b47bd
    • Iñaki Baz Castillo's avatar
      Make Node tests independent (part 1) (#1295) · 71d8c11b
      由 Iñaki Baz Castillo 提交于
      - Make each `test()` independent of other tests in same file. The goal is that a failing test doesn't make other tests also fail.
      - For now just done in `test-Worker.ts` as a POC.
      - Rename `node/src/tests/` to `node/src/test/` for consistency and convention.
      - Make it possible to pass Jest command line args to `npm run test:node` script.
      71d8c11b
  3. 03 1月, 2024 10 次提交
  4. 02 1月, 2024 1 次提交
    • Iñaki Baz Castillo's avatar
      jest: ignore <rootDir>/target folder · a36f2c29
      由 Iñaki Baz Castillo 提交于
      This changes avoids warning like this:
      
      ```
      jest-haste-map: Haste module naming collision: mediasoup-worker-dev-tools
        The following files share their name; please adjust your hasteImpl:
          * <rootDir>/target/package/mediasoup-sys-0.7.1/scripts/package.json
          * <rootDir>/target/package/mediasoup-sys-0.7.2/scripts/package.json
      ```
      a36f2c29
  5. 01 1月, 2024 8 次提交
  6. 30 12月, 2023 5 次提交
  7. 29 12月, 2023 4 次提交
  8. 28 12月, 2023 1 次提交
  9. 27 12月, 2023 2 次提交
  10. 26 12月, 2023 2 次提交