fix : file path of unit tests in documents

related : #583
This commit is contained in:
MasatoMakino 2021-05-06 12:56:06 +09:00
parent e99549bef1
commit aa2cb879ec
4 changed files with 4 additions and 4 deletions

View File

@ -80,7 +80,7 @@ The one that happens more frequently is the first one, but the second one has ha
### Unit tests
Tests are in the `test/unit/tests.js` file.
Tests are in the `src/tests.ts` file.
The tests are executed using [nodeunit](https://www.npmjs.com/package/nodeunit).

View File

@ -76,7 +76,7 @@ npm test
### 单元测试
测试用例在`test/unit/tests.js`文件中.
测试用例在`src/tests.ts`文件中.
测试使用[nodeunit](https://www.npmjs.com/package/nodeunit)执行.

View File

@ -117,7 +117,7 @@ var currentTime = player.currentTime
TWEEN.update(currentTime)
```
We use explicit time values for the unit tests. You can have a look at [tests.js](../test/unit/tests.js) to see how we call TWEEN.update() with different values in order to simulate time passing.
We use explicit time values for the unit tests. You can have a look at [tests.ts](../src/tests.ts) to see how we call TWEEN.update() with different values in order to simulate time passing.
## Controlling a tween

View File

@ -117,7 +117,7 @@ var currentTime = player.currentTime
TWEEN.update(currentTime)
```
我们使用明确的时间值进行单元测试。你可以看下 [tests.js](https://github.com/tweenjs/tween.js/blob/master/test/unit/tests.js) 这个例子,看看我们如何用不同的值调用`TWEEN.update()` 来模拟时间传递。
我们使用明确的时间值进行单元测试。你可以看下 [tests.ts](../src/tests.ts) 这个例子,看看我们如何用不同的值调用`TWEEN.update()` 来模拟时间传递。
## 控制一个补间