We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fdd25a commit 0ad81d0Copy full SHA for 0ad81d0
1 file changed
test/node/advanced.spec.js
@@ -13,6 +13,8 @@ const PreactTestRenderer = require('@testing-library/preact');
13
const equal = require('../..');
14
const tests = require('./tests');
15
16
+const TIMEOUT = '5000';
17
+
18
class ReactChild extends React.Component {
19
shouldComponentUpdate(nextProps) {
20
// this.props.children is a h1 with a circular reference to its owner, Container
@@ -59,6 +61,9 @@ describe('advanced', () => {
59
61
let sandbox;
60
62
let warnStub;
63
64
+ // eslint-disable-next-line no-invalid-this
65
+ beforeEach(function () { this.timeout(TIMEOUT); });
66
67
beforeEach(() => {
68
sandbox = sinon.createSandbox();
69
warnStub = sandbox.stub(console, 'warn');
0 commit comments