Skip to content

Commit

Permalink
remove esm from devDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dankogai committed Apr 5, 2023
1 parent 6bb65fd commit 5f73b8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $(JS): $(ES5)
rm $(ES6) && mv $(ES5) $(JS)

test: $(PJ) $(MJS) $(JS)
mocha --require esm
mocha

clean:
-rm $(DTS) $(MJS) $(JS) $(ES5) $(ES6)
4 changes: 2 additions & 2 deletions test/es6.js → test/es6.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
* use mocha to test me
* http://visionmedia.github.com/mocha/
*/
// import {Base64} from '../base64.mjs'

import { extendString } from '../base64.mjs'
import assert from 'assert';

var assert = assert || require("assert");
var is = function (a, e, m) {
return function () {
assert.equal(a, e, m)
Expand Down

0 comments on commit 5f73b8e

Please sign in to comment.