Skip to content

Commit 93292f7

Browse files
another basic test
1 parent 5154920 commit 93292f7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/compiler/bundle/test/app-data-plugin.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ function setup() {
1111
}
1212

1313
describe('app data plugin', () => {
14+
it('should include the fsNamespace in the appended BUILD constant', () => {
15+
const { config, magicString } = setup();
16+
appendBuildConditionals(config, {}, magicString);
17+
expect(magicString.toString().includes(`export const BUILD = /* ${config.fsNamespace} */`)).toBe(true);
18+
});
19+
1420
it.each([true, false])('should include hydratedAttribute when %p', (hydratedAttribute) => {
1521
const conditionals: d.BuildConditionals = {
1622
hydratedAttribute,

0 commit comments

Comments
 (0)