Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

Commit

Permalink
Updating snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Walter committed Apr 15, 2019
1 parent af64e10 commit aafbf8c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tests/snapshots/cli.tests.snap
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`cjs file not generated when --no-cjs passed 2`] = `
"function greeting () {
return 'Hello World'
}
export default greeting;
"
`;

exports[`dist file generated using custom plugins 1`] = `"💿 Writing CommonJS dist file: tmp/three.js"`;

exports[`dist file generated using custom plugins 2`] = `
Expand Down Expand Up @@ -139,3 +148,14 @@ var __vue_staticRenderFns__ = [];
exports.Greeting = Greeting;
"
`;

exports[`dist file is transpiled when --babel passed 2`] = `
"'use strict';
class SomeClass {}
var exportDefaultNewExpression = new SomeClass();
module.exports = exportDefaultNewExpression;
"
`;

0 comments on commit aafbf8c

Please sign in to comment.