reducing test case
This commit is contained in:
parent
9332c14323
commit
820823ff49
@ -6,7 +6,7 @@ import {getOdtTemplate} from '../../scripts/odf/odtTemplate-forNode.js'
|
||||
import {fillOdtTemplate, getOdtTextContent} from '../../exports.js'
|
||||
|
||||
|
||||
test('basic template filling with {#each}', async t => {
|
||||
test.skip('basic template filling with {#each}', async t => {
|
||||
const templatePath = join(import.meta.dirname, '../fixtures/enum-courses.odt')
|
||||
const templateContent = `🧺 La liste de courses incroyable 🧺
|
||||
|
||||
@ -44,7 +44,7 @@ Pâtes à lasagne (fraîches !)
|
||||
});
|
||||
|
||||
|
||||
test('Filling with {#each} and non-iterable value results in no error and empty result', async t => {
|
||||
test.skip('Filling with {#each} and non-iterable value results in no error and empty result', async t => {
|
||||
const templatePath = join(import.meta.dirname, '../fixtures/enum-courses.odt')
|
||||
const templateContent = `🧺 La liste de courses incroyable 🧺
|
||||
|
||||
@ -74,7 +74,7 @@ test('Filling with {#each} and non-iterable value results in no error and empty
|
||||
});
|
||||
|
||||
|
||||
test('template filling with {#each} generating a list', async t => {
|
||||
test.skip('template filling with {#each} generating a list', async t => {
|
||||
const templatePath = join(import.meta.dirname, '../fixtures/liste-courses.odt')
|
||||
const templateContent = `🧺 La liste de courses incroyable 🧺
|
||||
|
||||
@ -111,7 +111,7 @@ test('template filling with {#each} generating a list', async t => {
|
||||
});
|
||||
|
||||
|
||||
test('template filling with 2 sequential {#each}', async t => {
|
||||
test.skip('template filling with 2 sequential {#each}', async t => {
|
||||
const templatePath = join(import.meta.dirname, '../fixtures/liste-fruits-et-légumes.odt')
|
||||
const templateContent = `Liste de fruits et légumes
|
||||
|
||||
@ -163,7 +163,7 @@ Poivron 🫑
|
||||
});
|
||||
|
||||
|
||||
test('template filling with nested {#each}s', async t => {
|
||||
test.skip('template filling with nested {#each}s', async t => {
|
||||
const templatePath = join(import.meta.dirname, '../fixtures/légumes-de-saison.odt')
|
||||
const templateContent = `Légumes de saison
|
||||
|
||||
@ -248,7 +248,7 @@ Hiver
|
||||
});
|
||||
|
||||
|
||||
test('template filling with text after {/each} in same text node', async t => {
|
||||
test.skip('template filling with text after {/each} in same text node', async t => {
|
||||
const templatePath = join(import.meta.dirname, '../fixtures/text-after-closing-each.odt')
|
||||
const templateContent = `Légumes de saison
|
||||
|
||||
@ -285,7 +285,7 @@ Blette,
|
||||
});
|
||||
|
||||
|
||||
test('template filling of a table', async t => {
|
||||
test.skip('template filling of a table', async t => {
|
||||
const templatePath = join(import.meta.dirname, '../fixtures/tableau-simple.odt')
|
||||
const templateContent = `Évolution énergie en kWh par personne en France
|
||||
|
||||
@ -356,17 +356,7 @@ test('Mysterious {#each} bug', async t => {
|
||||
|
||||
const data = {
|
||||
liste_espèces_par_impact: [
|
||||
{
|
||||
"liste_espèces":[
|
||||
{
|
||||
"nomVernaculaire":"Phragmite aquatique",
|
||||
"nomScientifique":"Acrocephalus paludicola",
|
||||
"liste_impacts_quantifiés":["101-1000"]
|
||||
}
|
||||
],
|
||||
"impact":"Destruction intentionnelle, capture ou perturbation intentionnelle de spécimens",
|
||||
"liste_noms_impacts_quantifiés":["Nombre d'individus"]
|
||||
}
|
||||
{}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user