refactor: build system

This commit is contained in:
2023-03-22 11:45:30 +01:00
parent 4df19e8c20
commit 8cb9285462
427 changed files with 3978 additions and 9810 deletions

View File

@@ -25,51 +25,45 @@ import {
export class CommonSpec {
@test
deleteUndefinedProperties1() {
expect(deleteUndefinedProperties(
{
expect(
deleteUndefinedProperties({
a: 2,
b: {
c: 3,
d: undefined,
},
}),
).to.deep.equal({
a: 2,
b: {
c: 3,
},
)).to.deep.equal(
{
a: 2,
b: {
c: 3,
},
},
);
});
}
@test
deleteUndefinedProperties2() {
expect(deleteUndefinedProperties(
{
expect(
deleteUndefinedProperties({
a: undefined,
b: undefined,
},
)).to.deep.equal(
{},
);
}),
).to.deep.equal({});
}
@test
deleteUndefinedProperties3() {
expect(deleteUndefinedProperties(
{
expect(
deleteUndefinedProperties({
a: 2,
b: 'foo',
c: 'bar',
},
)).to.deep.equal(
{
a: 2,
b: 'foo',
c: 'bar',
},
);
}),
).to.deep.equal({
a: 2,
b: 'foo',
c: 'bar',
});
}
@test