Skip to content

Commit

Permalink
Fix CI (#18626)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Apr 16, 2020
1 parent 50b9f15 commit 71964c0
Showing 1 changed file with 8 additions and 8 deletions.
Expand Up @@ -69,7 +69,7 @@ describe('DebugTracing', () => {
expect(logs).toEqual([]);
});

// @gate experimental && enableDebugTracing
// @gate experimental && build === 'development' && enableDebugTracing
it('should log sync render with suspense', async () => {
const fakeSuspensPromise = Promise.resolve(true);
function Example() {
Expand All @@ -96,7 +96,7 @@ describe('DebugTracing', () => {
expect(logs).toEqual(['log: ⚛️ Example resolved']);
});

// @gate experimental && enableDebugTracing
// @gate experimental && build === 'development' && enableDebugTracing
it('should log concurrent render with suspense', async () => {
const fakeSuspensPromise = Promise.resolve(true);
function Example() {
Expand Down Expand Up @@ -130,7 +130,7 @@ describe('DebugTracing', () => {
expect(logs).toEqual(['log: ⚛️ Example resolved']);
});

// @gate experimental && enableDebugTracing
// @gate experimental && build === 'development' && enableDebugTracing
it('should log cascading class component updates', () => {
class Example extends React.Component {
state = {didMount: false};
Expand Down Expand Up @@ -164,7 +164,7 @@ describe('DebugTracing', () => {
]);
});

// @gate experimental && enableDebugTracing
// @gate experimental && build === 'development' && enableDebugTracing
it('should log render phase state updates for class component', () => {
class Example extends React.Component {
state = {didRender: false};
Expand Down Expand Up @@ -199,7 +199,7 @@ describe('DebugTracing', () => {
]);
});

// @gate experimental && enableDebugTracing
// @gate experimental && build === 'development' && enableDebugTracing
it('should log cascading layout updates', () => {
function Example() {
const [didMount, setDidMount] = React.useState(false);
Expand Down Expand Up @@ -231,7 +231,7 @@ describe('DebugTracing', () => {
]);
});

// @gate experimental && enableDebugTracing
// @gate experimental && build === 'development' && enableDebugTracing
it('should log cascading passive updates', () => {
function Example() {
const [didMount, setDidMount] = React.useState(false);
Expand All @@ -256,7 +256,7 @@ describe('DebugTracing', () => {
]);
});

// @gate experimental && enableDebugTracing
// @gate experimental && build === 'development' && enableDebugTracing
it('should log render phase updates', () => {
function Example() {
const [didRender, setDidRender] = React.useState(false);
Expand All @@ -282,7 +282,7 @@ describe('DebugTracing', () => {
]);
});

// @gate experimental && enableDebugTracing
// @gate experimental && build === 'development' && enableDebugTracing
it('should log when user code logs', () => {
function Example() {
console.log('Hello from user code');
Expand Down

0 comments on commit 71964c0

Please sign in to comment.