All files / my/buildContents buildContents.js

100% Statements 14/14
100% Branches 0/0
100% Functions 1/1
100% Lines 14/14

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23            2x 2x 2x 2x 2x 2x   2x 1x 1x 1x 1x 1x 1x 1x    
/*
 * Copyright (c) 2021, salesforce.com, inc.
 * All rights reserved.
 * Licensed under the BSD 3-Clause license.
 * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
 */
import { buildHtml } from './buildHtml';
import { buildJs } from './buildJs';
import { buildMeta } from './buildMeta';
import { buildCss } from './buildCss';
import { buildSvg } from './buildSvg';
import { buildTest } from './buildTest';
 
export const buildContents = (contents) => {
  const html = buildHtml(contents);
  const js = buildJs(contents);
  const css = buildCss(contents);
  const svg = buildSvg(contents);
  const meta = buildMeta(contents);
  const test = buildTest(contents);
  return { ...contents, html, js, css, meta, svg, test };
};