mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
1380e46c34
* unit test for ts * Fix ts-jest warnings * Remove puppeteer for now * fix physics define and jest config for windows * Replace Node ref with INode ref * Fix ci issue * Fix * tweak * tweak * Fix vscode launcher * now physics framework export all physics component (#28) * tweaks
9 lines
266 B
JavaScript
9 lines
266 B
JavaScript
module('decode uuid');
|
|
|
|
test('decode uuid', function () {
|
|
var encoded = 'fcmR3XADNLgJ1ByKhqcC5Z';
|
|
var decoded = 'fc991dd7-0033-4b80-9d41-c8a86a702e59';
|
|
var uuid = cc._Test.decodeUuid(encoded);
|
|
strictEqual(uuid, decoded, 'uuid could be decoded');
|
|
});
|