Skip to content

Commit

Permalink
chore(test): convert from cjs to esm
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra committed Mar 14, 2024
1 parent 453cbdf commit 6e6adb6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const { strictEqual } = require('node:assert');
const { existsSync } = require('node:fs');
const test = require('node:test');
import { strictEqual } from 'node:assert';
import { existsSync } from 'node:fs';
import test from 'node:test';

const findpath = require('../lib/findpath.js').findpath;
import { findpath } from '../lib/findpath.js';

test('nwjs has downloaded and been extracted', function() {
strictEqual(existsSync(findpath()), true);
Expand Down

0 comments on commit 6e6adb6

Please sign in to comment.