1234567891011121314151617181920 |
- /**
- * Object ID测试。
- *
- * author: Sand
- * since: 12/13/2016
- */
- "use strict";
- let assert = require('assert');
- let mongoose = require('mongoose');
- describe("Object Id", function () {
- describe("Generate 10", function () {
- it('ok', function (done) {
- for(let i = 0; i < 10; ++i)
- console.log(mongoose.Types.ObjectId());
- });
- });
- });
|