mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Port the unit tests from https://github.com/vercel/nft/tree/941be1cb3b9d38fbc99a8a6f07af568a64ed0f12/test/unit
66 lines
1.4 KiB
JavaScript
66 lines
1.4 KiB
JavaScript
!(function (e) {
|
|
'object' == typeof exports && 'undefined' != typeof module
|
|
? (module.exports = e())
|
|
: 'function' == typeof define && define.amd
|
|
? define([], e)
|
|
: (('undefined' != typeof window
|
|
? window
|
|
: 'undefined' != typeof global
|
|
? global
|
|
: 'undefined' != typeof self
|
|
? self
|
|
: this
|
|
).ytSearch = e())
|
|
})(function () {
|
|
return (function r(l, u, o) {
|
|
function s(t, e) {
|
|
if (!u[t]) {
|
|
if (!l[t]) {
|
|
var i = 'function' == typeof require && require
|
|
if (!e && i) return i(t, !0)
|
|
if (c) return c(t, !0)
|
|
var n = new Error("Cannot find module '" + t + "'")
|
|
throw ((n.code = 'MODULE_NOT_FOUND'), n)
|
|
}
|
|
var a = (u[t] = {
|
|
exports: {},
|
|
})
|
|
l[t][0].call(
|
|
a.exports,
|
|
function (e) {
|
|
return s(l[t][1][e] || e)
|
|
},
|
|
a,
|
|
a.exports,
|
|
r,
|
|
l,
|
|
u,
|
|
o
|
|
)
|
|
}
|
|
return u[t].exports
|
|
}
|
|
for (
|
|
var c = 'function' == typeof require && require, e = 0;
|
|
e < o.length;
|
|
e++
|
|
)
|
|
s(o[e])
|
|
return s
|
|
})(
|
|
{
|
|
1: [
|
|
function (s, e, t) {
|
|
'use strict'
|
|
var ee = s('acorn')
|
|
},
|
|
{
|
|
acorn: void 0,
|
|
},
|
|
],
|
|
},
|
|
{},
|
|
[1]
|
|
)(1)
|
|
})
|