kokjan/frontend/web/assets/b92486e3/benchmarks/load-missing.js

14 lines
281 B
JavaScript
Raw Normal View History

var Benchmark = require('benchmark'),
moment = require("./../moment.js");
module.exports = {
name: 'load missing locale',
tests: [{
fn: function() {
// falls back to en
moment.locale('en-US');
},
async: true,
}],
};