mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-02 19:47:44 -05:00
The sucrase build test does not reliably run in 2000ms and should have been marked as slow.
17 lines
563 B
JavaScript
17 lines
563 B
JavaScript
/**
|
|
* Quick test to ensure the sucrase build script always works (for downstream devs)
|
|
* @author mia-pi-git
|
|
*/
|
|
'use strict';
|
|
const {execSync: exec} = require('child_process');
|
|
const common = require('../../common');
|
|
|
|
(common.hasModule('sucrase') ? describe : describe.skip)("The Sucrase build script", () => {
|
|
it("Should compile successfully (slow)", () => {
|
|
// we explicitly are not testing the stuff from build tools
|
|
// as the replace step in the build is asynchronous and we want to wait for
|
|
// the entire thing to end
|
|
exec('node build');
|
|
});
|
|
});
|