File: global-setup.js

package info (click to toggle)
keepassxc-browser 1.8.4%2Brepack1-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,488 kB
  • sloc: javascript: 8,405; makefile: 16; sh: 11
file content (9 lines) | stat: -rw-r--r-- 276 bytes parent folder | download
1
2
3
4
5
6
7
8
9
const fs = require('@npmcli/fs');

const DEST = 'keepassxc-browser/tests';

module.exports = async config => {
    // Create a temporary directory and copy tests/* to keepassxc-browser/tests
    await fs.exists(DEST);
    await fs.cp('./tests', DEST, { recursive: true });
};