release: WRNexusJS 0.8.0
This commit is contained in:
@@ -96,6 +96,21 @@ component ThemeToggle {
|
||||
assert.deepEqual(diagnostics, []);
|
||||
});
|
||||
|
||||
test("ignores apostrophes in rendered HTML copy when checking balance", () => {
|
||||
const source = `import LanguageSwitcher from "@wrnexus/i18n/components/LanguageSwitcher.wrn"
|
||||
|
||||
page InternationalizationShowcase {
|
||||
view {
|
||||
<main>
|
||||
<p>Parameters such as a person's name are inserted safely.</p>
|
||||
<LanguageSwitcher />
|
||||
</main>
|
||||
}
|
||||
}`;
|
||||
|
||||
assert.deepEqual(validateBalancedCharacters(mockDocument(source), source), []);
|
||||
});
|
||||
|
||||
test("accepts all WRN 0.3 root members without false unknown-member errors", () => {
|
||||
const source = `page Dashboard {
|
||||
runtime = "universal"
|
||||
|
||||
Reference in New Issue
Block a user