Browse Source

update test files

semi-dynamic-namespace-imports
Rich-Harris 9 years ago
parent
commit
4ecc219330
  1. 2
      test/cli/multiple-targets-shared-config/_expected/es.js
  2. 1
      test/cli/multiple-targets-shared-config/_expected/es.js.map
  3. 1
      test/cli/multiple-targets-shared-config/_expected/es6.js.map
  4. 4
      test/cli/multiple-targets-shared-config/rollup.config.js
  5. 0
      test/cli/multiple-targets/_expected/es.js
  6. 4
      test/cli/multiple-targets/rollup.config.js
  7. 2
      test/form/sourcemaps-external/_expected/es.js
  8. 1
      test/form/sourcemaps-external/_expected/es.js.map
  9. 1
      test/form/sourcemaps-external/_expected/es6.js.map
  10. 2
      test/form/sourcemaps-inline/_expected/es.js

2
test/cli/multiple-targets-shared-config/_expected/es6.js → test/cli/multiple-targets-shared-config/_expected/es.js

@ -1,4 +1,4 @@
var main = 0;
export default main;
//# sourceMappingURL=es6.js.map
//# sourceMappingURL=es.js.map

1
test/cli/multiple-targets-shared-config/_expected/es.js.map

@ -0,0 +1 @@
{"version":3,"file":"es.js","sources":["../main.js"],"sourcesContent":["export default 0;\n"],"names":[],"mappings":"AAAA,WAAe,CAAC,CAAC,;;"}

1
test/cli/multiple-targets-shared-config/_expected/es6.js.map

@ -1 +0,0 @@
{"version":3,"file":"es6.js","sources":["../main.js"],"sourcesContent":["export default 0;\n"],"names":[],"mappings":"AAAA,WAAe,CAAC,CAAC,;;"}

4
test/cli/multiple-targets-shared-config/rollup.config.js

@ -7,8 +7,8 @@ export default {
dest: '_actual/cjs.js'
},
{
format: 'es6',
dest: '_actual/es6.js'
format: 'es',
dest: '_actual/es.js'
}
]
};

0
test/cli/multiple-targets/_expected/es6.js → test/cli/multiple-targets/_expected/es.js

4
test/cli/multiple-targets/rollup.config.js

@ -6,8 +6,8 @@ export default {
dest: '_actual/cjs.js'
},
{
format: 'es6',
dest: '_actual/es6.js'
format: 'es',
dest: '_actual/es.js'
}
]
};

2
test/form/sourcemaps-external/_expected/es.js

@ -10,4 +10,4 @@ console.log( 'hello from main.js' );
foo();
bar();
//# sourceMappingURL=es6.js.map
//# sourceMappingURL=es.js.map

1
test/form/sourcemaps-external/_expected/es.js.map

@ -0,0 +1 @@
{"version":3,"file":"es.js","sources":["../foo.js","../bar.js","../main.js"],"sourcesContent":["export default function foo () {\n\tconsole.log( 'hello from foo.js' );\n}\n","export default function bar () {\n\tconsole.log( 'hello from bar.js' );\n}\n","import foo from './foo';\nimport bar from './bar';\n\nconsole.log( 'hello from main.js' );\n\nfoo();\nbar();\n"],"names":[],"mappings":"AAAe,SAAS,GAAG,IAAI;CAC9B,OAAO,CAAC,GAAG,EAAE,mBAAmB,EAAE,CAAC;CACnC;;ACFc,SAAS,GAAG,IAAI;CAC9B,OAAO,CAAC,GAAG,EAAE,mBAAmB,EAAE,CAAC;CACnC;;ACCD,OAAO,CAAC,GAAG,EAAE,oBAAoB,EAAE,CAAC;;AAEpC,GAAG,EAAE,CAAC;AACN,GAAG,EAAE,CAAC"}

1
test/form/sourcemaps-external/_expected/es6.js.map

@ -1 +0,0 @@
{"version":3,"file":"es6.js","sources":["../foo.js","../bar.js","../main.js"],"sourcesContent":["export default function foo () {\n\tconsole.log( 'hello from foo.js' );\n}\n","export default function bar () {\n\tconsole.log( 'hello from bar.js' );\n}\n","import foo from './foo';\nimport bar from './bar';\n\nconsole.log( 'hello from main.js' );\n\nfoo();\nbar();\n"],"names":[],"mappings":"AAAe,SAAS,GAAG,IAAI;CAC9B,OAAO,CAAC,GAAG,EAAE,mBAAmB,EAAE,CAAC;CACnC;;ACFc,SAAS,GAAG,IAAI;CAC9B,OAAO,CAAC,GAAG,EAAE,mBAAmB,EAAE,CAAC;CACnC;;ACCD,OAAO,CAAC,GAAG,EAAE,oBAAoB,EAAE,CAAC;;AAEpC,GAAG,EAAE,CAAC;AACN,GAAG,EAAE,CAAC"}

2
test/form/sourcemaps-inline/_expected/es.js

@ -10,4 +10,4 @@ console.log( 'hello from main.js' );
foo();
bar();
//# sourceMappingURL=data:application/json;charset=utf-8;base64,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