You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// drives the express sample app in a real browser
//
// the node tests check what the preprocessor writes. they cannot check that what it writes works: a declarative shadow root is built by a browser's parser, and jsdom does not build one, so the shadow root, the slots and the fallback markup all only mean something here. the component class is the sharp edge in particular, calling attachShadow on an element the parser has already given a shadow root throwing rather than degrading
//
// the server is started and stopped by playwright rather than by a test, which is what the old sample app test got wrong: it spawned `npm start` itself, left the child running with the test's pipes open, and so never finished even when its assertion passed