Skip to content

Commit

Permalink
use require instead of import
Browse files Browse the repository at this point in the history
  • Loading branch information
jalal246 committed Dec 12, 2020
1 parent 746a4ef commit 0d03480
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/packageSorter.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "chai";
import sortPackages from "../src";
const { expect } =require("chai");
const sortPackages =require( "../src");

const pkgFirst = {
name: "@pkg/first",
Expand Down

0 comments on commit 0d03480

Please sign in to comment.