mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-02 17:27:01 +08:00
* Run smoke tests with Jest * Get a unique port for smoke test * Upgrade verdaccio across the board * Drop unneeded step * Try latest instead * Boot registry in home directory * Correct config path * Add mutex * Test webpack message formatting * Strip color * Add browserslist to default * Disable another broken feature
11 lines
227 B
JavaScript
11 lines
227 B
JavaScript
const fs = require('fs-extra');
|
|
const tempy = require('tempy');
|
|
|
|
beforeEach(() => {
|
|
global.testDirectory = tempy.directory();
|
|
jest.setTimeout(1000 * 60 * 5);
|
|
});
|
|
afterEach(() => {
|
|
fs.removeSync(global.testDirectory);
|
|
});
|