File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
dev-packages/node-integration-tests/suites/anr Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,9 @@ const EXPECTED_ANR_EVENT = {
5252} ;
5353
5454conditionalTest ( { min : 16 } ) ( 'should report ANR when event loop blocked' , ( ) => {
55- test ( 'CJS' , done => {
56- createRunner ( __dirname , 'basic.js' )
55+ // TODO (v8): Remove this old API and this test
56+ test ( 'Legacy API' , done => {
57+ createRunner ( __dirname , 'legacy.js' )
5758 . expect ( {
5859 event : event => {
5960 assertSentryEvent ( event , EXPECTED_ANR_EVENT ) ;
@@ -62,9 +63,8 @@ conditionalTest({ min: 16 })('should report ANR when event loop blocked', () =>
6263 . start ( done ) ;
6364 } ) ;
6465
65- // TODO (v8): Remove this old API and this test
66- test ( 'Legacy API' , done => {
67- createRunner ( __dirname , 'legacy.js' )
66+ test ( 'CJS' , done => {
67+ createRunner ( __dirname , 'basic.js' )
6868 . expect ( {
6969 event : event => {
7070 assertSentryEvent ( event , EXPECTED_ANR_EVENT ) ;
You can’t perform that action at this time.
0 commit comments