Home
last modified time | relevance | path

Searched refs:indexHtml (Results 1 – 3 of 3) sorted by relevance

/expo/packages/@expo/cli/e2e/__tests__/export/
H A Dsingle-page-app.test.ts90 const indexHtml = await getPageHtml(outputDir, 'index.html'); constant
93 indexHtml.querySelector(`html > head > meta[name="${name}"]`)?.attributes.content;
104 indexHtml.querySelectorAll('script').forEach((script) => {
119 const indexHtml = await getPageHtml(outputDir, 'index.html'); constant
120 expect(indexHtml.querySelectorAll('html > head > style')?.length).toBe(
133 const indexHtml = await getPageHtml(outputDir, 'index.html'); constant
135 const links = indexHtml.querySelectorAll('html > head > link');
175 const indexHtml = await getPageHtml(outputDir, 'index.html'); constant
176 expect(indexHtml.querySelector('html > head > title')?.innerText).toBe('Router E2E');
178 expect(indexHtml.querySelector('html > head > meta[name="description"]')).toBeNull();
[all …]
H A Dstatic-rendering.test.ts166 const indexHtml = await getPageHtml(outputDir, 'index.html'); constant
169 indexHtml.querySelector(`html > head > meta[name="${name}"]`)?.attributes.content;
181 indexHtml.querySelectorAll('script').forEach((script) => {
192 const indexHtml = await getPageHtml(outputDir, 'index.html'); constant
193 expect(indexHtml.querySelectorAll('html > head > style')?.length).toBe(
198 expect(indexHtml.querySelector('html > head > style#expo-reset')?.innerHTML).toEqual(
203 indexHtml.querySelector('html > head > style#react-native-stylesheet')?.innerHTML
209 const indexHtml = await getPageHtml(outputDir, 'index.html'); constant
211 const links = indexHtml.querySelectorAll('html > head > link').filter((link) => {
259 const indexHtml = await getPageHtml(outputDir, 'index.html'); constant
[all …]
H A Dbase-path.test.ts80 const indexHtml = await getPageHtml(outputDir, 'index.html'); constant
82 const jsFiles = indexHtml.querySelectorAll('script').map((script) => script.attributes.src);
87 const links = indexHtml.querySelectorAll('html > head > link').filter((link) => {
99 const fontLinks = indexHtml.querySelectorAll('html > head > link[as="font"]');