Skip to content

Commit

Permalink
test: fix deletes with TypeScript 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Aug 26, 2020
1 parent 9f8e9b8 commit 5f0266d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/api/core/test/fast/forge-config_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ describe('forge-config', () => {

it('should be set to the defaults if no Forge config is specified in package.json', async () => {
const config = await findConfig(path.resolve(__dirname, '../fixture/no_forge_config'));
delete config.pluginInterface;
delete (config as any).pluginInterface;
expect(config).to.deep.equal(defaults);
});

it('should resolve the object in package.json with defaults if one exists', async () => {
const config = await findConfig(path.resolve(__dirname, '../fixture/dummy_app'));
delete config.pluginInterface;
delete (config as any).pluginInterface;
expect(config).to.be.deep.equal({
...defaults,
packagerConfig: {
Expand Down

0 comments on commit 5f0266d

Please sign in to comment.