PHP 8.2.30
Preview: setup.js Size: 497 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/adminjs/spec/setup.js

/* eslint-disable func-names */
/* eslint-disable mocha/no-top-level-hooks */
import { URLSearchParams } from 'url'

import chai from 'chai'
import sinonChai from 'sinon-chai'
import sinon from 'sinon'
import jsdom from 'jsdom-global'

process.env.NODE_ENV = 'test'

chai.use(sinonChai)

global.expect = chai.expect
global.URLSearchParams = URLSearchParams

beforeEach(function () {
  this.sinon = sinon.createSandbox()
  this.jsdom = jsdom()
})

afterEach(function () {
  this.sinon.restore()
})

Directory Contents

Dirs: 2 × Files: 3

Name Size Perms Modified Actions
backend DIR
- drwxr-xr-x 2026-02-28 00:32:20
Edit Download
fixtures DIR
- drwxr-xr-x 2026-02-28 00:31:48
Edit Download
909 B lrw-r--r-- 2026-02-28 00:31:44
Edit Download
244 B lrw-r--r-- 2026-02-28 00:31:44
Edit Download
497 B lrw-r--r-- 2026-02-28 00:31:48
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).