From 4801f649df68617358582a766b9c76cdf0771901 Mon Sep 17 00:00:00 2001 From: Nils Knappmeier Date: Mon, 25 Nov 2019 23:01:36 +0100 Subject: [PATCH] minor styling fixes in test --- .../src/handlebars-inline-precompile-test.js | 8 ++++---- integration-testing/webpack-babel-test/test.sh | 2 +- integration-testing/webpack-babel-test/webpack.config.js | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/integration-testing/webpack-babel-test/src/handlebars-inline-precompile-test.js b/integration-testing/webpack-babel-test/src/handlebars-inline-precompile-test.js index 7f764e32..5b47d78a 100644 --- a/integration-testing/webpack-babel-test/src/handlebars-inline-precompile-test.js +++ b/integration-testing/webpack-babel-test/src/handlebars-inline-precompile-test.js @@ -1,12 +1,12 @@ -import * as Handlebars from 'handlebars/runtime' +import * as Handlebars from 'handlebars/runtime'; import hbs from 'handlebars-inline-precompile'; -import {assertEquals} from "../../webpack-test/src/lib/assert"; +import {assertEquals} from '../../webpack-test/src/lib/assert'; Handlebars.registerHelper('loud', function(text) { return text.toUpperCase(); }); const template = hbs`{{loud name}}`; -const output = template({name: 'yehuda'}) +const output = template({name: 'yehuda'}); -assertEquals(output, 'YEHUDA') \ No newline at end of file +assertEquals(output, 'YEHUDA'); diff --git a/integration-testing/webpack-babel-test/test.sh b/integration-testing/webpack-babel-test/test.sh index a45d5625..d6e99071 100755 --- a/integration-testing/webpack-babel-test/test.sh +++ b/integration-testing/webpack-babel-test/test.sh @@ -13,4 +13,4 @@ for i in dist/*-test.js ; do echo "----------------------" node "$i" echo "Success" -done \ No newline at end of file +done diff --git a/integration-testing/webpack-babel-test/webpack.config.js b/integration-testing/webpack-babel-test/webpack.config.js index 9ad0a09b..e2617b1b 100644 --- a/integration-testing/webpack-babel-test/webpack.config.js +++ b/integration-testing/webpack-babel-test/webpack.config.js @@ -10,6 +10,7 @@ testFiles module.exports = { entry: entryPoints, + mode: 'production', output: { filename: '[name]', path: __dirname + '/dist'