forked from aragon/buidler-aragon
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathproject.test.ts
39 lines (32 loc) · 1.12 KB
/
project.test.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// tslint:disable-next-line no-implicit-dependencies
import { assert } from 'chai'
import path from 'path'
import { useEnvironment } from './helpers'
describe('Integration tests examples', function() {
describe('Hardhat Runtime Environment extension', function() {
useEnvironment('hardhat-project')
it('Should add the example field', function() {})
// it('The example filed should say hello', function() {
// assert.equal(this.hre.example.sayHello(), 'hello')
// })
})
describe('HardhatConfig extension', function() {
useEnvironment('hardhat-project')
// it('Should add the newPath to the config', function() {
// assert.equal(
// this.hre.config.paths.newPath,
// path.join(process.cwd(), 'asd')
// )
// })
})
})
describe('Unit tests examples', function() {
describe('ExampleHardhatRuntimeEnvironmentField', function() {
// describe('sayHello', function() {
// it('Should say hello', function() {
// const field = new ExampleHardhatRuntimeEnvironmentField()
// assert.equal(field.sayHello(), 'hello')
// })
// })
})
})