Skip to content

Commit

Permalink
test(bundle-source): Move and update explicit powers test (#2672)
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal authored Mar 18, 2021
1 parent 23e99c1 commit 98dd129
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 30 deletions.
20 changes: 20 additions & 0 deletions packages/bundle-source/test/test-explicit.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/* global __dirname */
import '@agoric/install-ses';
import test from 'ava';
import { rollup } from 'rollup';
import { resolve as pathResolve } from 'path';
import resolvePlugin from '@rollup/plugin-node-resolve';
import bundleSource from '..';

test('explicit authority', async t => {
const { moduleFormat } = await bundleSource(
`${__dirname}/../demo/dir1`,
'getExport',
{
rollup,
resolvePlugin,
pathResolve,
},
);
t.is(moduleFormat, 'getExport', 'module format is getExport');
});
30 changes: 0 additions & 30 deletions test/explicit.js

This file was deleted.

0 comments on commit 98dd129

Please sign in to comment.