Skip to content

Commit eca91dd

Browse files
committed
chore: drop old cjs entrypoints & update test paths
1 parent 9109203 commit eca91dd

22 files changed

+19
-28
lines changed

register-assert.cjs

-3
This file was deleted.

register-assert.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import {assert} from './lib/chai.js';
1+
import {assert} from './chai.js';
22

33
globalThis.assert = assert;

register-expect.cjs

-3
This file was deleted.

register-expect.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import {expect} from './lib/chai.js';
1+
import {expect} from './chai.js';
22

33
globalThis.expect = expect;

register-should.cjs

-3
This file was deleted.

register-should.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import {should} from './lib/chai.js';
1+
import {should} from './chai.js';
22

33
globalThis.should = should();

test/assert.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as chai from '../lib/chai.js';
1+
import * as chai from '../chai.js';
22
import {globalErr as err} from './bootstrap/index.js';
33

44
describe('assert', function () {

test/bootstrap/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as chai from '../../lib/chai.js';
1+
import * as chai from '../../chai.js';
22

33
var isStackSupported = false;
44
if (typeof Error.captureStackTrace !== 'undefined') {

test/configuration.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as chai from '../lib/chai.js';
1+
import * as chai from '../chai.js';
22
import {globalErr as err} from './bootstrap/index.js';
33

44
import '../register-should.js';

test/display/errors.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as chai from '../../lib/chai.js';
1+
import * as chai from '../../chai.js';
22

33
var expect = chai.expect;
44

test/display/message.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as chai from '../../lib/chai.js'
1+
import * as chai from '../../chai.js'
22

33
const expect = chai.expect
44

test/expect.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as chai from '../lib/chai.js';
1+
import * as chai from '../chai.js';
22
import {globalErr as err} from './bootstrap/index.js';
33

44
describe('expect', function () {

test/globalErr.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as chai from '../lib/chai.js';
1+
import * as chai from '../chai.js';
22
import {globalErr as err} from './bootstrap/index.js';
33

44
describe('globalErr', function () {

test/globalShould.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as chai from '../lib/chai.js';
1+
import * as chai from '../chai.js';
22

33
describe('global should', function () {
44
it('works', function () {

test/plugins.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as chai from '../lib/chai.js';
1+
import * as chai from '../chai.js';
22

33
describe('plugins', function () {
44

test/should.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as chai from '../lib/chai.js';
1+
import * as chai from '../chai.js';
22
import {globalErr as err} from './bootstrap/index.js';
33

44
describe('should', function() {

test/type-detect/dom.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as chai from '../../lib/chai.js';
1+
import * as chai from '../../chai.js';
22

33
function assert (expr, msg) {
44
if (!expr) {

test/type-detect/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as chai from '../../lib/chai.js';
1+
import * as chai from '../../chai.js';
22

33
function assert (expr, msg) {
44
if (!expr) {

test/type-detect/new-ecmascript-types.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as chai from '../../lib/chai.js';
1+
import * as chai from '../../chai.js';
22

33
function assert (expr, msg) {
44
if (!expr) {

test/type-detect/node.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as chai from '../../lib/chai.js';
1+
import * as chai from '../../chai.js';
22

33
function assert (expr, msg) {
44
if (!expr) {

test/type-detect/tostringtag-extras.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as chai from '../../lib/chai.js';
1+
import * as chai from '../../chai.js';
22

33
function assert (expr, msg) {
44
if (!expr) {

test/utilities.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as chai from '../lib/chai.js';
1+
import * as chai from '../chai.js';
22

33
describe('utilities', function () {
44
const expect = chai.expect;

0 commit comments

Comments
 (0)